Skip to content

Commit 95ff1b9

Browse files
committed
address comments
1 parent edb96ee commit 95ff1b9

File tree

4 files changed

+13
-1
lines changed

4 files changed

+13
-1
lines changed

.github/workflows/libcxx-build-and-test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ jobs:
146146
'generic-no-experimental',
147147
'generic-no-filesystem',
148148
'generic-no-localization',
149+
'generic-no-terminal',
149150
'generic-no-random_device',
150151
'generic-no-threads',
151152
'generic-no-tzdb',

libcxx/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ option(LIBCXX_ENABLE_UNICODE
9797
"Whether to include support for Unicode in the library. Disabling Unicode can
9898
be useful when porting to platforms that don't support UTF-8 encoding (e.g.
9999
embedded)." ON)
100-
option(LIBCXX_HAS_TERMINAL_AVAILABLE "Build libc++ with terminal checking support" ON)
100+
option(LIBCXX_HAS_TERMINAL_AVAILABLE
101+
"Build libc++ with support for checking whether a stream is a terminal." ON)
101102
option(LIBCXX_ENABLE_WIDE_CHARACTERS
102103
"Whether to include support for wide characters in the library. Disabling
103104
wide character support can be useful when porting to platforms that don't
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
set(LIBCXX_HAS_TERMINAL_AVAILABLE OFF CACHE BOOL "")
2+
3+
# Speed up the CI
4+
set(LIBCXX_TEST_PARAMS "enable_modules=clang" CACHE STRING "")
5+
set(LIBCXXABI_TEST_PARAMS "${LIBCXX_TEST_PARAMS}" CACHE STRING "")

libcxx/utils/ci/run-buildbot

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,11 @@ generic-no-localization)
469469
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Generic-no-localization.cmake"
470470
check-runtimes
471471
;;
472+
generic-no-terminal)
473+
clean
474+
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Generic-no-terminal.cmake"
475+
check-runtimes
476+
;;
472477
generic-no-unicode)
473478
clean
474479
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Generic-no-unicode.cmake"

0 commit comments

Comments
 (0)