Skip to content

Commit

Permalink
remove use_llvm_tools option
Browse files Browse the repository at this point in the history
  • Loading branch information
isuruf committed Oct 14, 2020
1 parent 6362e00 commit a674923
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
MACOSX_DEPLOYMENT_TARGET:
- '11.0'
channel_sources:
- conda-forge/label/llvm_rc,conda-forge,https://conda-web.anaconda.org/conda-forge
- https://conda-web.anaconda.org/conda-forge,conda-forge/label/llvm_rc
channel_targets:
- conda-forge main
cross_platform:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
MACOSX_DEPLOYMENT_TARGET:
- '11.0'
channel_sources:
- conda-forge/label/llvm_rc,conda-forge,https://conda-web.anaconda.org/conda-forge
- https://conda-web.anaconda.org/conda-forge,conda-forge/label/llvm_rc
channel_targets:
- conda-forge main
cross_platform:
Expand Down
4 changes: 0 additions & 4 deletions recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,10 @@ cross_platform:
uname_machine:
- x86_64
- arm64
use_llvm_tools:
- False
- True
zip_keys:
- - macos_machine
- cross_platform
- uname_machine
- use_llvm_tools
cxx_compiler:
- clang_bootstrap # [osx]
- gxx # [linux]
Expand Down
6 changes: 0 additions & 6 deletions recipe/install-cctools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,3 @@ pushd "${PREFIX}"
# This is packaged in ld64
rm bin/*-ld
popd

if [[ "$use_llvm_tools" == "True" ]]; then
for tool in lipo nm size; do
ln -sf $PREFIX/bin/llvm-$tool $PREFIX/bin/$macos_machine-$tool
done
fi
3 changes: 0 additions & 3 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,21 +59,18 @@ outputs:
- zlib
- llvmdev {{ llvm_version }}.*
- llvm {{ llvm_version }}.*
- llvm-tools {{ llvm_version }}.* # [use_llvm_tools]
- tapi
- libcxx # [osx]
- {{ pin_subpackage("ld64_" + cross_platform, max_pin="x.x") }}
run:
- libcxx # [osx]
- llvm-tools {{ llvm_version }}.* # [use_llvm_tools]
- {{ pin_subpackage("ld64_" + cross_platform, max_pin="x.x") }}
- ldid
run_constrained:
- ld64 {{ ld64_version }}.*
- cctools {{ cctools_version }}.*
test:
commands:
- echo {{ use_llvm_tools }}
# For arm64, cctools as calls the clang integrated assembler. Don't check for it
- test -f $PREFIX/libexec/as/x86_64/as
- test -f $PREFIX/bin/{{ macos_machine }}-as
Expand Down

0 comments on commit a674923

Please sign in to comment.