-
Notifications
You must be signed in to change notification settings - Fork 26
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
hls/xls: disable conda-forge #219
Conversation
was getting the following warnings:
which turns into the following errors after 0a208ec
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure... Are the binaries independent of numpy, scipy and all other packages removed from the requirements? The bazel change seems OK if the Conda package is problematic, I guess it isn't needed to run the package?
I'd also like to check log if the binaries aren't linked against the VM's libraries instead of the Conda-packaged ones but the package building is currently skipped by the CI: https://github.com/hdl/conda-eda/runs/6999838565?check_suite_focus=true#step:3:11
Please remove this line to restore the package building in CI: https://github.com/hdl/conda-eda/blob/master/.github/workflows/Build.yml#L763
Never seen such an error, it's quite weird. Does bazel install its own |
@ajelinski the build looks clean now (no |
@proppy This is now built completely outside Conda which isn't really a preferred way of building Conda packages. Currently libc libraries are required: https://github.com/hdl/conda-eda/runs/7854507476?check_suite_focus=true#step:3:15915 |
Wasn't this already the case were we were using the |
I wonder if the libc
|
For reference using the
|
Seems like this got in fixed fixed in |
Oh yeah, there indeed was a problem with using a non-Conda compiler before: #199... unfortunately it will still be a thing, especially when the Ubuntu 18.04 gets removed later this year (actions/runner-images#6002) and such an xls package built on Ubuntu 20.04 won't work on Debian Buster... I don't oppose the changes strongly, I'm only worried about whether the new package won't turn out to be broken for some users but in this case it seems the changes don't influence this aspect. BTW. It seems the Java problem can be fixed by using |
No, the libc warnings are caused by the fact that executables are linked to the glibc libraries and a Conda-based compiler (which provides an old glibc v2.17 to prevent requiring any newer glibc) wasn't used during building. |
Yep, I think this PR doesn't improve of that (but doesn't make it worst either), we're mainly just remove the bazel/conda-forge package in favor of
Yep, tried it with https://github.com/proppy/rad-lab (which is 20.04 based).
Would you rather have a separate PR that simply fix bazel + conda-forge to renable the CI, and rebase this one on top to keep it just about conda-forge?
I don't think previous requirements were actually being used by the build. |
My shallow understanding of conda-build was that it sometime used |
Please rebase and I'll merge the changes since they fix building and the package has no more problems than before.
No, in this particular case I think it's OK as it is. I was just wondering if you've seen it.
TBH I didn't know what |
- remove conda-forge requirements - install bazel using bazelisk - remove obsolete patches - strip python host dependencies and patches (not used by binary rules) hls/xls: add compiler deps github/workflows/Build: re-enable xls hls/xls: remove requirements hls/xls: add proto_to_dslx_main hls/xls: re-enable llvm toolchain hls/xls: build proto_to_dslx_main hls/xls: remove bazel alias
8712466
to
c8d203d
Compare
Done. |
/cc @cdleary @mithro