-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from rluria14/master
update bazel to v2.0.0
- Loading branch information
Showing
8 changed files
with
30 additions
and
145 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ cxx_compiler_version: | |
- '7' | ||
docker_image: | ||
- condaforge/linux-anvil-comp7 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
MACOSX_DEPLOYMENT_TARGET: | ||
- '10.9' | ||
- '10.12' | ||
c_compiler: | ||
- clang | ||
c_compiler_version: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,23 @@ | ||
#!/bin/bash | ||
|
||
set -v -x | ||
./compile.sh | ||
mkdir -p $PREFIX/bin/ | ||
cp output/bazel $PREFIX/bin/ | ||
|
||
if [ $(uname) == Darwin ]; then | ||
if [[ $(basename $CONDA_BUILD_SYSROOT) != "MacOSX10.12.sdk" ]]; then | ||
echo "WARNING: You asked me to use $CONDA_BUILD_SYSROOT as the MacOS SDK" | ||
echo " But because of the use of Objective-C Generics we need at" | ||
echo " least MacOSX10.12.sdk" | ||
CONDA_BUILD_SYSROOT=/opt/MacOSX10.12.sdk | ||
if [[ ! -d $CONDA_BUILD_SYSROOT ]]; then | ||
echo "ERROR: $CONDA_BUILD_SYSROOT is not a directory" | ||
exit 1 | ||
fi | ||
fi | ||
./compile.sh | ||
mkdir -p $PREFIX/bin/ | ||
mv output/bazel $PREFIX/bin | ||
else | ||
./compile.sh | ||
mkdir -p $PREFIX/bin/ | ||
mv output/bazel $PREFIX/bin | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
MACOSX_DEPLOYMENT_TARGET: # [osx] | ||
- '10.12' # [osx] |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.