Skip to content

Commit

Permalink
Reproduce the error also on llvm@17
Browse files Browse the repository at this point in the history
  • Loading branch information
utensil committed Nov 3, 2024
1 parent 8bd56d1 commit c86ce1c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
3 changes: 3 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -221,5 +221,8 @@ prep-llvm:
just add-rc 'export LDFLAGS="-L/opt/homebrew/opt/llvm@18/lib"'
just add-rc 'export CPPFLAGS="-I/opt/homebrew/opt/llvm@18/include"'

prep-llvm17:
brew install llvm@17

prep-gcc:
brew install gcc@13
9 changes: 7 additions & 2 deletions yard-cpp/justfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
set fallback

example_xp := justfile_directory() / "example-xp"
# export CC := `which clang`
# export CXX := `which clang++`
# export CC := '/opt/homebrew/Cellar/llvm@18/18.1.8/bin/clang'
# export CXX := '/opt/homebrew/Cellar/llvm@18/18.1.8/bin/clang++'
# export LD := '/opt/homebrew/Cellar/llvm@18/18.1.8/bin/lld'
# export CC := '/opt/homebrew/Cellar/llvm@17/17.0.6/bin/clang'
# export CXX := '/opt/homebrew/Cellar/llvm@17/17.0.6/bin/clang++'
# export LD := '/opt/homebrew/Cellar/llvm@17/17.0.6/bin/lld'
export CC := '/opt/homebrew/Cellar/gcc@13/13.3.0/bin/gcc-13'
export CXX := '/opt/homebrew/Cellar/gcc@13/13.3.0/bin/g++-13'
export LD := '/opt/homebrew/Cellar/gcc@13/13.3.0/bin/g++-13'
Expand Down Expand Up @@ -34,6 +38,7 @@ try-gabm: (prep-ex "https://github.com/utensil/ga-benchmark" "ga-benchmark" "mas
[no-cd]
build:
xmake f --toolchain=gcc --cxx={{CXX}} --cc={{CC}} --ld={{LD}}
# xmake f --toolchain=clang --cxx={{CXX}} --cc={{CC}} --ld={{LD}}
xmake -vv

[no-cd]
Expand Down

0 comments on commit c86ce1c

Please sign in to comment.