File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ build_target_toolchain() {
75
75
-D CMAKE_C_COMPILER_LAUNCHER=" $( which sccache) " \
76
76
-D CMAKE_CXX_COMPILER_LAUNCHER=" $( which sccache) " \
77
77
-D CMAKE_INSTALL_PREFIX=" $DIST_TOOLCHAIN_SDK /usr/lib/clang/10.0.0/" \
78
- -D COMPILER_RT_SWIFT_WASI_SDK_PATH =" $WASI_SDK_PATH " \
78
+ -D CMAKE_SYSROOT =" ${WASI_SYSROOT_PATH} " \
79
79
-G Ninja \
80
80
-S " $SOURCE_PATH /llvm-project/compiler-rt"
81
81
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ set(CMAKE_C_COMPILER_TARGET wasm32-wasi CACHE STRING "" FORCE)
4
4
set (CMAKE_C_COMPILER_FORCED TRUE CACHE BOOL "" )
5
5
set (CMAKE_CXX_COMPILER_FORCED TRUE CACHE BOOL "" )
6
6
set (CMAKE_SYSTEM_NAME Wasm )
7
- set (CMAKE_SYSROOT ${COMPILER_RT_SWIFT_WASI_SDK_PATH} /share/wasi-sysroot CACHE STRING "" )
8
7
set (CMAKE_SIZEOF_VOID_P 4 CACHE STRING "" )
9
8
set (COMPILER_RT_BAREMETAL_BUILD ON CACHE BOOL "" )
10
9
set (COMPILER_RT_BUILD_XRAY OFF CACHE BOOL "" )
You can’t perform that action at this time.
0 commit comments