Skip to content

Commit

Permalink
Update build-flang.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
licy183 authored Aug 13, 2024
1 parent 76068c2 commit ca5753f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build-flang.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ _EXTRA_CONFIGURE_ARGS="
-DLLVM_ENABLE_FFI=ON
-DFLANG_DEFAULT_LINKER=lld
-DMLIR_INSTALL_AGGREGATE_OBJECTS=OFF
-DFLANG_ENABLE_WERROR=On
-DFLANG_ENABLE_WERROR=OFF
-DFLANG_INCLUDE_TESTS=OFF
-DLLVM_ENABLE_ASSERTIONS=On
-DLLVM_LIT_ARGS=-v
Expand All @@ -56,7 +56,7 @@ _CONFIGURE_ARGS=()
_CONFIGURE_ARGS+=("-DCMAKE_C_COMPILER=$(pwd)/out/stage2-install/bin/clang")
_CONFIGURE_ARGS+=("-DCMAKE_CXX_COMPILER=$(pwd)/out/stage2-install/bin/clang++")
_CONFIGURE_ARGS+=("-DCMAKE_LINKER=$(pwd)/out/stage2-install/bin/ld.lld")
_CONFIGURE_ARGS+=("-DCMAKE_CXX_FLAGS=-stdlib=libc++ -Wl,-rpath=$_HOST_RPATH -Wno-deprecated-copy")
_CONFIGURE_ARGS+=("-DCMAKE_CXX_FLAGS=-stdlib=libc++ -Wl,-rpath=$_HOST_RPATH")
_CONFIGURE_ARGS+=("-DCMAKE_EXE_LINKER_FLAGS=-stdlib=libc++ -Wl,-rpath=$_HOST_RPATH")
_CONFIGURE_ARGS+=("-DCMAKE_INSTALL_RPATH=$_HOST_RPATH")

Expand Down

0 comments on commit ca5753f

Please sign in to comment.