Skip to content

Conversation

@mayeut
Copy link
Contributor

@mayeut mayeut commented Jul 31, 2021

When building from sources on Linux, libuv didn't respect CMakePythonDistributions_ARCHIVE_DOWNLOAD_DIR preventing building the sdist without an internet connection.
It is now respected allowing to build the sdist with:

SKBUILD_CONFIGURE_OPTIONS="-DCMakePythonDistributions_ARCHIVE_DOWNLOAD_DIR:PATH=$(pwd)/downloads" pip wheel -v cmake-3.21.1.tar.gz

assuming cmake & llibuv source archives are available in $(pwd)/downloads

fix #172

When building from sources on Linux, libuv didn't respect `CMakePythonDistributions_ARCHIVE_DOWNLOAD_DIR` preventing building the sdist without an internet connection.
It is now respected allowing to build the sdist with:
```
SKBUILD_CONFIGURE_OPTIONS="-DCMakePythonDistributions_ARCHIVE_DOWNLOAD_DIR:PATH=$(pwd)/downloads" pip wheel -v cmake-3.21.1.tar.gz
```
assuming cmake & llibuv source archives are available in `$(pwd)/downloads`

fix scikit-build#172
@mayeut mayeut merged commit 7a69014 into scikit-build:master Aug 1, 2021
@mayeut mayeut deleted the fix-libuv-download-dir branch August 1, 2021 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Passing CMake variables when building Python wheel with pip

1 participant