Skip to content

fix: libuv now respect CMakePythonDistributions_ARCHIVE_DOWNLOAD_DIR #173

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

Merged
merged 1 commit into from
Aug 1, 2021

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