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() {
7575 -D CMAKE_C_COMPILER_LAUNCHER=" $( which sccache) " \
7676 -D CMAKE_CXX_COMPILER_LAUNCHER=" $( which sccache) " \
7777 -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} " \
7979 -G Ninja \
8080 -S " $SOURCE_PATH /llvm-project/compiler-rt"
8181
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ set(CMAKE_C_COMPILER_TARGET wasm32-wasi CACHE STRING "" FORCE)
44set (CMAKE_C_COMPILER_FORCED TRUE CACHE BOOL "" )
55set (CMAKE_CXX_COMPILER_FORCED TRUE CACHE BOOL "" )
66set (CMAKE_SYSTEM_NAME Wasm)
7- set (CMAKE_SYSROOT ${COMPILER_RT_SWIFT_WASI_SDK_PATH} /share/wasi-sysroot CACHE STRING "" )
87set (CMAKE_SIZEOF_VOID_P 4 CACHE STRING "" )
98set (COMPILER_RT_BAREMETAL_BUILD ON CACHE BOOL "" )
109set (COMPILER_RT_BUILD_XRAY OFF CACHE BOOL "" )
You can’t perform that action at this time.
0 commit comments