[libcxx-commits] [libcxx] [libc++][modules] Adds std.compat module. (PR #71438)
Mark de Wever via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Dec 22 12:53:38 PST 2023
================
@@ -67,3 +67,17 @@ if (
"%{link_flags}",
os.path.join(build, "libc++std.a"),
)
+
+ config.substitutions = appendToSubstitution(
+ config.substitutions,
+ "%{compile_flags}",
+ "-fprebuilt-module-path="
+ + os.path.join(
+ config.test_exec_root, "__config_module__/CMakeFiles/std.compat.dir"
+ ),
+ )
+ config.substitutions = appendToSubstitution(
+ config.substitutions,
+ "%{link_flags}",
+ os.path.join(build, "libc++std.compat.a"),
----------------
mordante wrote:
#76083 removes this code and its replacement #76246 only creates `pcm` files and not libraries. So that would resolve this issue.
https://github.com/llvm/llvm-project/pull/71438
More information about the libcxx-commits
mailing list