More tweaks in the quest for macos and windows tensorflow builds.
* There was a typo in the macos bazelrc config.
* Maybe bazel needs BAZEL_SH set? Who knows?
diff --git a/build_tools/bazel/iree.bazelrc b/build_tools/bazel/iree.bazelrc
index b6cbe67..beb79e8 100644
--- a/build_tools/bazel/iree.bazelrc
+++ b/build_tools/bazel/iree.bazelrc
@@ -151,8 +151,8 @@
###############################################################################
build:macos_clang --config=generic_clang
-build:macos_clean --per_file_copt=tensorflow@-Wno-unused-variable
-build:macos_clean --per_file_copt=tensorflow@-Wno-range-loop-analysis
+build:macos_clang --per_file_copt=tensorflow@-Wno-unused-variable
+build:macos_clang --per_file_copt=tensorflow@-Wno-range-loop-analysis
###############################################################################
# Options for building with address sanitizer.
diff --git a/build_tools/github_actions/configure_dev_environment.ps1 b/build_tools/github_actions/configure_dev_environment.ps1
index d18ec44..bade894 100644
--- a/build_tools/github_actions/configure_dev_environment.ps1
+++ b/build_tools/github_actions/configure_dev_environment.ps1
@@ -95,3 +95,7 @@
}
}
}
+
+# Finally, emit the BAZEL_SH parameter. Because sometimes it doesn't respect
+# the path. Because... awesomeness.
+Add-Content $githubEnv "BAZEL_SH=$bashExePath" -Encoding utf8