-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport CMake configuration fix for test_allocator (#80)
automerged PR by conda-forge/automerge-action
- Loading branch information
Showing
10 changed files
with
58 additions
and
18 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
MACOSX_DEPLOYMENT_TARGET: | ||
- '11.0' | ||
MACOSX_SDK_VERSION: | ||
- '11.0' | ||
c_compiler: | ||
- clang | ||
c_compiler_version: | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
recipe/patches/0004-Avoid-export-of-testonly-target-absl-test_allocator-.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
From 0d297340775316a5ac8ccafd91dca0f00a6828f0 Mon Sep 17 00:00:00 2001 | ||
From: Derek Mauro <[email protected]> | ||
Date: Tue, 30 Jan 2024 10:13:25 -0800 | ||
Subject: [PATCH 4/4] Avoid export of testonly target absl::test_allocator in | ||
CMake builds | ||
|
||
Closes #1536 | ||
|
||
PiperOrigin-RevId: 602764437 | ||
Change-Id: Ia5c20a3874262a2ddb8797f608af17d7e86dd6d6 | ||
--- | ||
absl/container/CMakeLists.txt | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/absl/container/CMakeLists.txt b/absl/container/CMakeLists.txt | ||
index 128cc0e9..11d65d55 100644 | ||
--- a/absl/container/CMakeLists.txt | ||
+++ b/absl/container/CMakeLists.txt | ||
@@ -213,6 +213,7 @@ absl_cc_library( | ||
DEPS | ||
absl::config | ||
GTest::gmock | ||
+ TESTONLY | ||
) | ||
|
||
absl_cc_test( |