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

Avoid export internal target in non-test builds #1536

Closed
wants to merge 1 commit into from

Conversation

MiguelBarro
Copy link

The target is test_allocator associated with the containers

@google-cla
Copy link

google-cla bot commented Sep 23, 2023

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@derekmauro
Copy link
Member

We need the CLA to accept this.

Signed-off-by: MiguelBarro <miguel.barro@live.com>
netkex pushed a commit to netkex/abseil-cpp that referenced this pull request Apr 3, 2024
Closes abseil#1536

PiperOrigin-RevId: 602764437
Change-Id: Ia5c20a3874262a2ddb8797f608af17d7e86dd6d6
snnn added a commit to microsoft/onnxruntime that referenced this pull request Jul 10, 2024
### Description
Our macOS pipeline are failing because of a build error in absl.
However, the bug fix we need is not available in the latest ABSL
release.

Here  is the issue: abseil/abseil-cpp#1536
And here is the fix:
abseil/abseil-cpp@779a356
 
GTests uses ABSL. But this ABSL target also depends on GTest. So, it is
a circular dependency. We should be able to avoid that by avoid building
tests for ABSL. However, the version we are using has a problem with
that: it has cmake target that still depends on GTest even when testing
is disabled.

It's strange that we suddenly hit this problem and it only happens on macOS.
sriduth pushed a commit to KinaraAi/qwen.cpp that referenced this pull request Jul 30, 2024
use older stable release version of abseil-cpp
issue link: abseil/abseil-cpp#1536
sumitsays pushed a commit to microsoft/onnxruntime that referenced this pull request Aug 8, 2024
Our macOS pipeline are failing because of a build error in absl.
However, the bug fix we need is not available in the latest ABSL
release.

Here  is the issue: abseil/abseil-cpp#1536
And here is the fix:
abseil/abseil-cpp@779a356

GTests uses ABSL. But this ABSL target also depends on GTest. So, it is
a circular dependency. We should be able to avoid that by avoid building
tests for ABSL. However, the version we are using has a problem with
that: it has cmake target that still depends on GTest even when testing
is disabled.

It's strange that we suddenly hit this problem and it only happens on macOS.
prathikr pushed a commit to microsoft/onnxruntime that referenced this pull request Aug 8, 2024
Our macOS pipeline are failing because of a build error in absl.
However, the bug fix we need is not available in the latest ABSL
release.

Here  is the issue: abseil/abseil-cpp#1536
And here is the fix:
abseil/abseil-cpp@779a356

GTests uses ABSL. But this ABSL target also depends on GTest. So, it is
a circular dependency. We should be able to avoid that by avoid building
tests for ABSL. However, the version we are using has a problem with
that: it has cmake target that still depends on GTest even when testing
is disabled.

It's strange that we suddenly hit this problem and it only happens on macOS.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants