-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
Add cuda support for master #137
Conversation
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 ( I do have some suggestions for making it better though... For recipe:
|
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 ( |
@pearu I took a stab at copying over the CUDA changes to 0.17/master, can you take a look? |
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.
It seems that {{ compiler("cuda") }}
is missed in build dependencies.
I am not sure why the cuda enabled build was successful now. I guess, after re-rendering the recipe, it will break.
- ninja | ||
- make # [unix] | ||
- {{ compiler('c') }} | ||
- {{ compiler('cxx') }} |
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 think the following dependency is required in build:
- {{ compiler("cuda") }} # [cuda_compiler_version is not undefined and cuda_compiler_version
== '9.2']
@conda-forge-admin please rerender |
…da-forge-pinning 2020.05.14.17.14.20
Re failing win builds: the build log shows
Following conda/conda#1762 (comment), perhaps try adding Another sign of failure is Finally, what is the reason for restricting to |
I suspect that the build script being the default name The reason to pin to |
Seems like renaming helped a lot. I will revert the |
build: | ||
number: {{ number }} | ||
string: "py{{ CONDA_PY }}h{{ PKG_HASH }}_{{ number }}_{{ build_ext }}" | ||
skip: true # [cuda_compiler_version not in (undefined, "None", "9.2")] |
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.
skip: true # [cuda_compiler_version not in (undefined, "None", "9.2")] |
I think it's worth trying to see whether cuda 10.x builds successfully. 9.2. cannot make use of the compute_75
instruction set, for example.
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.
Following this suggestion would need a few more adaptations (using # [cuda_compiler_version is not undefined and cuda_compiler_version != "None"]
as a selector), plus a rerender
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.
That's not necessary. Please read the discussion in the PR that added CUDA support.
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.
OK, thanks for the info. To record the outcome (to the best of my understanding): since arrow only uses the cuda driver (and not the toolkit), building for one cuda version is compatible with all.
LGTM. Btw, are there tricks that could avoid the issue describe here that could be applied in this PR to avoid future problems? |
Yes, we should make better recipes :) @isuruf thankfully already fixed the major breakage and with conda-forge/conda-forge-pinning-feedstock#618 we will have a consistent CF-global linkage with re2. |
Checklist
0
(if the version changed)conda-smithy
(Use the phrase@conda-forge-admin, please rerender
in a comment in this PR for automated rerendering)