Skip to content

Commit 7a69014

Browse files
authored
fix: libuv now respect CMakePythonDistributions_ARCHIVE_DOWNLOAD_DIR (scikit-build#173)
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
1 parent 31737a2 commit 7a69014

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ set(CMAKE_EXE_LINKER_FLAGS \"-lstdc++ -lgcc -lrt\" CACHE STRING \"Initial cache\
213213
BINARY_DIR ${LibUV_BINARY_DIR}
214214
URL "https://dist.libuv.org/dist/v1.23.0/libuv-v1.23.0.tar.gz"
215215
URL_HASH "SHA256=d1746d324dea973d9f4c7ff40ba9cf60556c0bae9a92ad970568211b0e3bce27"
216+
DOWNLOAD_DIR ${CMakePythonDistributions_ARCHIVE_DOWNLOAD_DIR}
216217
${_common_args}
217218
CMAKE_CACHE_ARGS
218219
${_common_cache_args}

0 commit comments

Comments
 (0)