From 8826a6a6823e8c5957a5b7418e93f0b78be20eef Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 17 Nov 2023 07:36:29 +0200 Subject: Disable modules tests for Apple Clang --- tests/cc/modules/common.testscript | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'tests/cc/modules/common.testscript') diff --git a/tests/cc/modules/common.testscript b/tests/cc/modules/common.testscript index 2aa19d1..f2e107f 100644 --- a/tests/cc/modules/common.testscript +++ b/tests/cc/modules/common.testscript @@ -21,8 +21,12 @@ cxx.std = experimental cxx.features.symexport = true # @@ TMP revise +# +# Note: there are some issues with enabling modules in Apple Clang 15 so +# for now we only test vanilla Clang. +# if ($cxx.id == 'gcc' || \ - ($cxx.id.type == 'clang' && $cxx.version.major >= 16)) + ($cxx.id == 'clang' && $cxx.version.major >= 16)) cxx.features.modules = true using cxx @@ -50,7 +54,7 @@ print ($cxx.features.modules && $cxx.id == 'gcc') EOI # @@ TMP: modules support is broken in MinGW GCC (not just symexport). -# @@ TMP: try modules with Clang on Windows (symexport is likely broken). +# @@ TMP: try modules with Clang on Windows (symexport seems to work). # if ($cxx.target.class == 'windows' && \ ($cxx.id == 'gcc' || $cxx.id.type == 'clang')) -- cgit v1.1