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

update bazel to v2.0.0 #33

Merged
merged 12 commits into from
Feb 6, 2020
Merged

update bazel to v2.0.0 #33

merged 12 commits into from
Feb 6, 2020

Conversation

rluria14
Copy link
Contributor

@rluria14 rluria14 commented Feb 3, 2020

Checklist

  • Used a fork of the feedstock to propose changes
  • Bumped the build number (if the version is unchanged)
  • Reset the build number to 0 (if the version changed)
  • Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
  • Ensured the license file is being packaged.

@rluria14
Copy link
Contributor Author

rluria14 commented Feb 3, 2020

@conda-forge-admin, please re-render

@conda-forge-linter
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.

@rluria14
Copy link
Contributor Author

rluria14 commented Feb 3, 2020

@conda-forge-admin, please re-render

@rluria14
Copy link
Contributor Author

rluria14 commented Feb 3, 2020

@jjhelmus @nehaljwani @abhi18av please review when you have a chance!

@nehaljwani
Copy link
Member

@jjhelmus Has Anaconda Distribution moved to 10.12?

@jjhelmus
Copy link
Contributor

jjhelmus commented Feb 4, 2020

Has Anaconda Distribution moved to 10.12?

We have not, our SDK target is 10.10 with a few cases where we still use 10.9

@rluria14
Copy link
Contributor Author

rluria14 commented Feb 4, 2020

It seems that bazel can only be built with 10.12 SDK target on OSX. I've included the conda_build_config.yaml to set macosx_deployment_target to 10.12, re-rendered, and now it's passing.

Also, for reference, it looks like qt-feedstock uses the 10.12 SDK target.

Packages that require new OSX SDKs issue

@jjhelmus @nehaljwani

@rluria14
Copy link
Contributor Author

rluria14 commented Feb 6, 2020

@jjhelmus @nehaljwani bump

recipe/meta.yaml Outdated

build:
number: 0
ignore_prefix_files: True
binary_relocation: False
skip: True # [win]
missing_dso_whitelist:
- '*'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be made more explicit? White listing everything (like is done here) essentially skips the under/overlinking check.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jjhelmus turns out missing_dso_whitelist was not needed so it's now removed from the recipe.

@jjhelmus
Copy link
Contributor

jjhelmus commented Feb 6, 2020

I'm not certain if this will work on CentOS 6 given that binaries embedded in the bazel self-extracting zip are dynamically linked to the conda provided libstdc++ and when unpacked will not have a correct RPATH. Still worth trying.

@jjhelmus jjhelmus merged commit 46e74d7 into conda-forge:master Feb 6, 2020
@rluria14
Copy link
Contributor Author

rluria14 commented Feb 7, 2020

@jjhelmus I do seem to be having a problem with the RPATH and libstdc++.

Errors in build:

bazel: /usr/lib64/libstdc++.so.6: version GLIBCXX_3.4.15' not found (required by bazel) bazel: /usr/lib64/libstdc++.so.6: version GLIBCXX_3.4.21' not found (required by bazel)
bazel: /usr/lib64/libstdc++.so.6: version CXXABI_1.3.5' not found (required by bazel) bazel: /usr/lib64/libstdc++.so.6: version GLIBCXX_3.4.22' not found (required by bazel)
bazel: /usr/lib64/libstdc++.so.6: version GLIBCXX_3.4.20' not found (required by bazel) bazel: /usr/lib64/libstdc++.so.6: version GLIBCXX_3.4.14' not found (required by bazel)
bazel: /usr/lib64/libstdc++.so.6: version GLIBCXX_3.4.18' not found (required by bazel) bazel: /usr/lib64/libstdc++.so.6: version GLIBCXX_3.4.19' not found (required by bazel)

Any suggestions on how to fix this?

@jjhelmus
Copy link
Contributor

jjhelmus commented Feb 7, 2020

Any suggestions on how to fix this?

In the recipe we use a Anaconda we statically link libstdc++ and libgcc. Unfortunately I have been able to get this to work on bazel >=0.27.

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