Skip to content

Commit

Permalink
Disable tests/benchmarks for libcxx
Browse files Browse the repository at this point in the history
These aren't needed anyway and fix a build issue discovered in #474.
Additionally a typo was fixed here too.
  • Loading branch information
alexcrichton committed Aug 14, 2024
1 parent b416e2b commit abe1644
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmake/wasi-sdk-sysroot.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ function(define_wasi_libc_sub target target_suffix lto)
list(JOIN extra_cflags_list " " extra_cflags)

ExternalProject_Add(wasi-libc-${target}${target_suffix}-build
# Currently wasi-libc doesn't support out-of-tree builds so feigh a
# Currently wasi-libc doesn't support out-of-tree builds so feign a
# "download command" which copies the source tree to a different location
# so out-of-tree builds are supported.
DOWNLOAD_COMMAND
Expand Down Expand Up @@ -262,6 +262,8 @@ function(define_libcxx_sub target target_suffix extra_target_flags extra_libdir_
-DCMAKE_CXX_FLAGS=${extra_cxxflags}
-DLIBCXX_LIBDIR_SUFFIX=/${target}${extra_libdir_suffix}
-DLIBCXXABI_LIBDIR_SUFFIX=/${target}${extra_libdir_suffix}
-DLIBCXX_INCLUDE_TESTS=OFF
-DLIBCXX_INCLUDE_BENCHMARKS=OFF

# See https://www.scivision.dev/cmake-externalproject-list-arguments/ for
# why this is in `CMAKE_CACHE_ARGS` instead of above
Expand Down

0 comments on commit abe1644

Please sign in to comment.