From e84fcbcb0b7c33caf35fbdfde411e8636f4d31f9 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Wed, 14 Dec 2022 13:44:52 -0500 Subject: cxxmodules: support new round of Clang patches These patches now support the `-MF` output, so remove the `none` support added just for the old patchset which did not use it. Also update the flag name to `-fmodule-output=`. Due to the new Clang module mapper flag, use a new experimental support UUID as well. --- .gitlab/ci/cxx_modules_rules_clang.cmake | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to '.gitlab') diff --git a/.gitlab/ci/cxx_modules_rules_clang.cmake b/.gitlab/ci/cxx_modules_rules_clang.cmake index 9d75880c68..4b80aabebc 100644 --- a/.gitlab/ci/cxx_modules_rules_clang.cmake +++ b/.gitlab/ci/cxx_modules_rules_clang.cmake @@ -3,11 +3,12 @@ set(CMake_TEST_CXXModules_UUID "a246741c-d067-4019-a8fb-3d16b0c9d1d3") set(CMAKE_EXPERIMENTAL_CXX_MODULE_DYNDEP 1) string(CONCAT CMAKE_EXPERIMENTAL_CXX_SCANDEP_SOURCE "${CMAKE_CXX_COMPILER_CLANG_SCAN_DEPS}" - " -format=p1689 --p1689-targeted-file-name= --p1689-targeted-output= --" + " -format=p1689 --p1689-targeted-file-name= --p1689-targeted-output= " + " --p1689-makeformat-output=" + " --" " -x c++ " + " -MT -MD" " > ") -# No support for `-MF` discovered dependencies in `clang-scan-deps`. -set(CMAKE_EXPERIMENTAL_CXX_SCANDEP_DEPFILE_FORMAT "none") set(CMAKE_EXPERIMENTAL_CXX_MODULE_MAP_FORMAT "clang") set(CMAKE_EXPERIMENTAL_CXX_MODULE_MAP_FLAG "@") -- cgit v1.2.1