Closed tdegeus closed 3 years ago
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.
@conda-forge-admin, please rerender
To use Scikit-build, you need to map the PYTHON_x variables to Python_x in your CMakeLists. I know I've either done this or seen this done somewhere, but have forgotten where. Hopefully we will fix it soon, it's on the roadmap.
(I was going to do it here, but it would be better to try https://github.com/scikit-build/scikit-build/issues/554.)
Thanks @henryiii , I will try. The other horse I was betting on was to use FindPythonLibs through pybind11's CMake support and to rely on the FindNumPy you provided in scikit-build. But somehow I'm still doing something wrong I think, because the library is ultimately not installed https://github.com/tdegeus/QPot/pull/36/files
@conda-forge-admin, please rerender
@conda-forge-admin, please rerender
Hi! This is the friendly automated conda-forge-webservice. I tried to rerender for you, but it looks like there was nothing to do.
@henryiii I think I'm nearly there... I'm able to use scikit-build locally : https://github.com/tdegeus/QPot/pull/36 (I will put some more comments there), however, I get hopeless failures here on conda-build. In particular, I get the error:
CMake-installed files must be within the project root.
Project Root : /tmp/pip-req-build-3s1kxo05/_skbuild/linux-x86_64-3.6/cmake-install
Violating File: /home/conda/feedstock_root/build_artifacts/qpot-split_1629792833267/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/./_QPot.cpython-36m-x86_64-linux-gnu.so
Do you know what to do about this ?
Note that in the example you linked, I found
if(APPLE)
set_target_properties(${PYPROJECT_NAME} PROPERTIES INSTALL_RPATH "@loader_path/${CMAKE_INSTALL_LIBDIR}")
else()
set_target_properties(${PYPROJECT_NAME} PROPERTIES INSTALL_RPATH "$ORIGIN/${CMAKE_INSTALL_LIBDIR}")
endif()
I tried both with and without, with exactly the same error message.
Also not that I followed the manual and the example such that
install(TARGETS ${PYPROJECT_NAME} DESTINATION .)
but that might not be what is actually needed?
Found it @henryiii , see https://github.com/scikit-build/scikit-build/issues/588
@conda-forge-admin, please rerender
Hi! This is the friendly automated conda-forge-webservice. I tried to rerender for you, but it looks like there was nothing to do.
@conda-forge-admin, please rerender
Hi! This is the friendly automated conda-forge-webservice. I tried to rerender for you, but it looks like there was nothing to do.
@conda-forge-admin, please rerender
@conda-forge-admin, please rerender
@conda-forge-admin, please rerender
Checklist
0
(if the version changed)conda-smithy
(Use the phrase code>@<space/conda-forge-admin, please rerender in a comment in this PR for automated rerendering)