Introduce DPCTL_WITH_REDIST cmake option to fix gh-1892#1893
Introduce DPCTL_WITH_REDIST cmake option to fix gh-1892#1893oleksandr-pavlyk merged 14 commits intomasterfrom
Conversation
Deduplicated common steps among two pybind11 extensions in this dpctl.utils Fixed typo CUMAKE_CURRENT_SOURCE_DIR -> CMAKE_CURRENT_SOURCE_DIR
|
Deleted rendered PR docs from intelpython.github.com/dpctl, latest should be updated shortly. 🤞 |
|
Array API standard conformance tests for dpctl=0.19.0dev0=py310hdf72452_212 ran successfully. |
|
I can see that RUNPATH is set as expected in conda package: but it is not set correctly in the wheels built by our CI (wheel is built in |
|
Array API standard conformance tests for dpctl=0.19.0dev0=py310hdf72452_214 ran successfully. |
…e preceding comment
…e preceding comment
|
Array API standard conformance tests for dpctl=0.19.0dev0=py310hdf72452_218 ran successfully. |
|
Array API standard conformance tests for dpctl=0.19.0dev0=py310hdf72452_219 ran successfully. |
|
This PR has fixed the issue now: Both |
|
Array API standard conformance tests for dpctl=0.19.0dev0=py310hdf72452_234 ran successfully. |
|
Debugging output added in the last commit shows that in GitHub public CI the in the internal CI it is: The necessary components are there, but it would be nice to get rid of extraneous and invalid paths like |
fc144ab to
e4f3964
Compare
|
The root-cause that introduced "invalid paths like I confirmed that with both wheels generated by Github Actions CI and by internal CI, the issues filed in gh-1892 is resolved. |
ndgrigorian
left a comment
There was a problem hiding this comment.
I have also verified the fix and it works correctly on Linux.
LGTM!
|
Array API standard conformance tests for dpctl=0.19.0dev0=py310hdf72452_233 ran successfully. |
Closes gh-1892
This PR introduced
DPCTL_WITH_REDISTcmake options, defaulting toOFF.If set, cmake script add to RUNPATH an entry relative to
$ORIGINthat would point to$PREFIX/lib, hence allowing native extensions to find DPC++ redistributable libraries.conda-recipe/build.shis modified to setDPCTL_WITH_REDIST=TRUE.