Skip to content

[libc++] Remove outdated setting of LIBCXX_CXX_ABI_LIBRARY_PATH #100631

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

ldionne
Copy link
Member

@ldionne ldionne commented Jul 25, 2024

LIBCXX_CXX_ABI_LIBRARY_PATH is used to determine the path of the ABI library in use. It shouldn't be necessary to set it explicitly in order to run the tests, since the test suite has its own configuration mechanism.

LIBCXX_CXX_ABI_LIBRARY_PATH is used to determine the path of the ABI
library in use. It shouldn't be necessary to set it explicitly in order
to run the tests, since the test suite has its own configuration
mechanism.
@ldionne ldionne requested a review from a team as a code owner July 25, 2024 18:51
@llvmbot llvmbot added the libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi. label Jul 25, 2024
@llvmbot
Copy link
Member

llvmbot commented Jul 25, 2024

@llvm/pr-subscribers-libcxx

Author: Louis Dionne (ldionne)

Changes

LIBCXX_CXX_ABI_LIBRARY_PATH is used to determine the path of the ABI library in use. It shouldn't be necessary to set it explicitly in order to run the tests, since the test suite has its own configuration mechanism.


Full diff: https://github.com/llvm/llvm-project/pull/100631.diff

1 Files Affected:

  • (modified) libcxx/test/CMakeLists.txt (-6)
diff --git a/libcxx/test/CMakeLists.txt b/libcxx/test/CMakeLists.txt
index 001b29efcfefa..29f9ddc020702 100644
--- a/libcxx/test/CMakeLists.txt
+++ b/libcxx/test/CMakeLists.txt
@@ -1,12 +1,6 @@
 include(HandleLitArguments)
 add_subdirectory(tools)
 
-# By default, libcxx and libcxxabi share a library directory.
-if (NOT LIBCXX_CXX_ABI_LIBRARY_PATH)
-  set(LIBCXX_CXX_ABI_LIBRARY_PATH "${LIBCXX_LIBRARY_DIR}" CACHE PATH
-      "The path to libc++abi library.")
-endif()
-
 set(AUTO_GEN_COMMENT "## Autogenerated by libcxx configuration.\n# Do not edit!")
 set(SERIALIZED_LIT_PARAMS "# Lit parameters serialized here for llvm-lit to pick them up\n")
 

@ldionne ldionne merged commit fda692b into llvm:main Jul 26, 2024
57 checks passed
@ldionne ldionne deleted the review/test-suite-4-remove-cxx-abi-library-path branch July 26, 2024 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants