Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 38e3d3e

Browse files
author
Matthias Koeppe
committed
tox.ini [homebrew-llvm]: Set CC, CXX to full path
1 parent 8b16cf8 commit 38e3d3e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tox.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,8 @@ setenv =
449449
gcc_11: CONFIG_CONFIGURE_ARGS_2=--with-system-gcc=force CC=gcc-11 CXX=g++-11 FC=gfortran-11
450450
llvm: CONFIG_CONFIGURE_ARGS_2=--with-system-gcc=force CC=clang CXX=clang++
451451
llvm: EXTRA_SAGE_PACKAGES_2=llvm
452+
# LLVM is keg-only
453+
homebrew-llvm: CONFIG_CONFIGURE_ARGS_2=--with-system-gcc=force CC={env:HOMEBREW}/opt/llvm/bin/clang CXX={env:HOMEBREW}/opt/llvm/bin/clang++
452454
macos-nohomebrew: CONFIG_CONFIGURE_ARGS_2=--with-system-gcc=force CC="$CONFIGURED_CC" CXX="$CONFIGURED_CXX" --with-mp=gmp --without-system-mpfr --without-system-readline --without-system-boost --without-system-boost_cropped
453455
macos-nohomebrew: CONFIGURED_CXX=g++ -isysroot {env:MACOS_SDK}
454456
macos-nohomebrew: CONFIGURED_CC=gcc -isysroot {env:MACOS_SDK}

0 commit comments

Comments
 (0)