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

WIP: Depend on our own abseil again #193

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

h-vetinari
Copy link
Member

Something I couldn't pull off in #192, perhaps someone can help.

The issue is that jaxlib calls another bazel build for the vendored xla, which then does not pick up the correct @com_google_absl anymore. That's despite xla having logic for processing TF_SYSTEM_LIBS, but it seems bazel isolation doesn't pass the variable down. I tried various things like

--- a/recipe/build.sh
+++ b/recipe/build.sh
@@ -74,6 +74,7 @@ else
     EXTRA="${CUDA_ARGS:-}"
 fi
 ${PYTHON} build/build.py \
+    --bazel_options=--action_env=TF_SYSTEM_LIBS=${TF_SYSTEM_LIBS} \
     --target_cpu_features default \
     --enable_mkl_dnn \
     ${EXTRA}

and

--- a/recipe/build.sh
+++ b/recipe/build.sh
@@ -74,6 +74,7 @@ else
     EXTRA="${CUDA_ARGS:-}"
 fi
 ${PYTHON} build/build.py \
+    --bazel_options=--override_repository=com_google_absl=$PREFIX/lib \
     --target_cpu_features default \
     --enable_mkl_dnn \
     ${EXTRA}

but to no success.

@conda-forge-webservices
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

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.

1 participant