-
Notifications
You must be signed in to change notification settings - Fork 65
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
Make libnuma into a soft dependency #196
Make libnuma into a soft dependency #196
Conversation
9d6d837
to
eaa52df
Compare
Should I add a CI job which runs |
The script was using a fixed path to the version_file in one case instead of using the detected one. Fixes: KatanaGraph#185
If loading fails we behave the same as if numa_available() returns false.
eaa52df
to
356f3ba
Compare
I was already editing it, so it seemed like a good idea.
356f3ba
to
3cb2d0c
Compare
strategy: | ||
matrix: | ||
image: | ||
- ubuntu:16.04 | ||
- ubuntu:latest | ||
- centos:7 | ||
- centos:latest |
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.
@ddn0 Did I over do the docker image matrix? Should I include anything else? They take about 5min each and all run in parallel after build_and_test_conda_package
finishes.
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 might add ubuntu:18.04 and ubuntu:20.04 explicitly (in addition to ubuntu:latest
). But I don't have a strong preference.
This uses
dlopen
to get the 3 symbols we need fromlibnuma
. If the load fails we just assume NUMA information is not available and use the existing "assume sockets are nodes" fallback. All this allows katana built with libnuma to run on machines that don't have it.Fixes: #185 (because I ran into it while doing this PR).
Fixes: ENG-324