[libcxx-commits] [libcxx] [libcxx] Add testing configuration for GPU targets (PR #104515)
Joseph Huber via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Oct 11 10:28:41 PDT 2024
================
@@ -30,3 +30,7 @@ config.substitutions.append(('%{target-include-dir}', '@LIBCXX_TESTING_INSTALL_P
config.substitutions.append(('%{lib-dir}', '@LIBCXX_TESTING_INSTALL_PREFIX@/@LIBCXX_INSTALL_LIBRARY_DIR@'))
config.substitutions.append(('%{module-dir}', '@LIBCXX_TESTING_INSTALL_PREFIX@/@LIBCXX_INSTALL_MODULES_DIR@'))
config.substitutions.append(('%{test-tools-dir}', '@LIBCXX_TEST_TOOLS_PATH@'))
+
+# Available if building libc++ on top of llvm-libc.
+config.substitutions.append(('%{libc-dir}', '@LIBCXX_LIBC_LIBRARY_DIR@'))
+config.substitutions.append(('%{libc-include-dir}', '@LIBCXX_LIBC_INCLUDE_DIR@'))
----------------
jhuber6 wrote:
I made https://github.com/llvm/llvm-project/pull/112025. If this lands will adding `-gpustartfiles` to the commands be acceptable?
https://github.com/llvm/llvm-project/pull/104515
More information about the libcxx-commits
mailing list