Skip to content
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

[libc] customizable namespace 1/4 #65321

Merged
merged 1 commit into from
Sep 6, 2023

Conversation

gchatelet
Copy link
Contributor

This implements the first step of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079

Make required Bazel and CMake preparatory changes which define the var for the customizable namespace and use it (pass it as a compile option -DLIBC_NAMESPACE=<...>).

Differential Revision: https://reviews.llvm.org/D159112

This implements the first step of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079

Make required Bazel and CMake preparatory changes which define the var for the customizable namespace and use it (pass it as a compile option -DLIBC_NAMESPACE=<...>).

Differential Revision: https://reviews.llvm.org/D159112
@gchatelet gchatelet requested a review from a team as a code owner September 5, 2023 12:43
@gchatelet gchatelet added the libc label Sep 5, 2023
@gchatelet gchatelet merged commit 56426c6 into llvm:main Sep 6, 2023
@gchatelet gchatelet deleted the customizable_namespace branch September 6, 2023 08:28
avillega pushed a commit to avillega/llvm-project that referenced this pull request Sep 11, 2023
This implements the first step of
https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079

Make required Bazel and CMake preparatory changes which define the var
for the customizable namespace and use it (pass it as a compile option
-DLIBC_NAMESPACE=<...>).

Differential Revision: https://reviews.llvm.org/D159112
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants