Skip to content

Commit

Permalink
try removing missing_dso_whitelist
Browse files Browse the repository at this point in the history
  • Loading branch information
rluria14 committed Feb 6, 2020
1 parent 6587c36 commit bb2eb11
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .azure-pipelines/azure-pipelines-osx.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion .ci_support/linux_.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@ cxx_compiler_version:
docker_image:
- condaforge/linux-anvil-comp7


23 changes: 20 additions & 3 deletions recipe/build.sh
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
2 changes: 0 additions & 2 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ build:
ignore_prefix_files: True
binary_relocation: False
skip: True # [win]
missing_dso_whitelist:
- '*'

requirements:
build:
Expand Down

0 comments on commit bb2eb11

Please sign in to comment.