Skip to content

Commit b4bcfb2

Browse files
committed
[𝘀𝗽𝗿] initial version
Created using spr 1.3.6-beta.1
2 parents 909bff8 + 46fb4c4 commit b4bcfb2

File tree

8 files changed

+12
-7
lines changed

8 files changed

+12
-7
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ jobs:
137137
'generic-hardening-mode-fast',
138138
'generic-hardening-mode-fast-with-abi-breaks',
139139
'generic-merged',
140-
'generic-modules-lsv',
140+
'generic-modules-cxx17-lsv',
141141
'generic-no-exceptions',
142142
'generic-no-experimental',
143143
'generic-no-filesystem',
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
set(LIBCXX_TEST_PARAMS "enable_modules=clang-lsv;std=c++17" CACHE STRING "")
2+
set(LIBCXXABI_TEST_PARAMS "${LIBCXX_TEST_PARAMS}" CACHE STRING "")

libcxx/cmake/caches/Generic-modules-lsv.cmake

Lines changed: 0 additions & 2 deletions
This file was deleted.

libcxx/test/libcxx/atomics/atomics.syn/incompatible_with_stdatomic.verify.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
// UNSUPPORTED: no-threads
1010
// REQUIRES: c++03 || c++11 || c++14 || c++17 || c++20
1111

12+
// No diagnostic gets emitted when we build with modules.
13+
// XFAIL: clang-modules-build
14+
1215
// This test ensures that we issue a reasonable diagnostic when including <atomic> after
1316
// <stdatomic.h> has been included. Before C++23, this otherwise leads to obscure errors
1417
// because <atomic> may try to redefine things defined by <stdatomic.h>.

libcxx/test/libcxx/gdb/gdb_pretty_printer_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
# we exit.
3131
has_run_tests = False
3232

33-
has_execute_mi = tuple(map(int, gdb.VERSION.split("."))) >= (14, 2)
33+
has_execute_mi = 'execute_mi' in gdb.__dict__
3434

3535
class CheckResult(gdb.Command):
3636
def __init__(self):

libcxx/utils/ci/run-buildbot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -454,9 +454,9 @@ generic-modules)
454454
check-runtimes
455455
check-abi-list
456456
;;
457-
generic-modules-lsv)
457+
generic-modules-cxx17-lsv)
458458
clean
459-
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Generic-modules-lsv.cmake"
459+
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Generic-modules-cxx17-lsv.cmake"
460460
check-runtimes
461461
check-abi-list
462462
;;

libcxx/utils/libcxx/test/params.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,8 @@ def getSuitableClangTidy(cfg):
210210
choices=["none", "clang", "clang-lsv"],
211211
type=str,
212212
help="Whether to build the test suite with modules enabled. "
213-
"Select `clang` for Clang modules, and 'clang-lsv' for Clang modules with Local Submodule Visibility.",
213+
"Select `clang` for Clang modules, and 'clang-lsv' for Clang modules with Local Submodule Visibility. "
214+
"Note that in recent versions of Clang, using Clang modules with -std=c++20 and later implies LSV.",
214215
default="none",
215216
actions=lambda modules: filter(None, [
216217
AddFeature("clang-modules-build") if modules in ("clang", "clang-lsv") else None,

utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11026,6 +11026,7 @@ cc_library(
1102611026
":LLVMDialect",
1102711027
":MemRefToLLVM",
1102811028
":OpenMPDialect",
11029+
":OpenMPOpsIncGen",
1102911030
":Pass",
1103011031
],
1103111032
)

0 commit comments

Comments
 (0)