Update CMake to 3.29.0 (#37457)

This commit is contained in:
Alexander Neumann 2024-03-25 23:57:42 +01:00 committed by GitHub
parent 7989da9b9a
commit dd9f9d5371
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 45 additions and 25 deletions

View File

@ -0,0 +1,12 @@
diff --git a/cmake/public/cuda.cmake b/cmake/public/cuda.cmake
index e8e450d36c..8ba1778b4f 100644
--- a/cmake/public/cuda.cmake
+++ b/cmake/public/cuda.cmake
@@ -60,6 +60,7 @@ find_package(CUDAToolkit REQUIRED)
cmake_policy(POP)
+set(CUDAToolkit_INCLUDE_DIR "${CUDA_INCLUDE_DIRS}")
if(NOT CMAKE_CUDA_COMPILER_VERSION STREQUAL CUDAToolkit_VERSION OR
NOT CUDA_INCLUDE_DIRS STREQUAL CUDAToolkit_INCLUDE_DIR)
message(FATAL_ERROR "Found two conflicting CUDA installs:\n"

View File

@ -20,6 +20,7 @@ vcpkg_from_github(
fix-glog.patch
fix-msvc-ICE.patch
fix-calculate-minloglevel.patch
force-cuda-include.patch
)
file(REMOVE_RECURSE "${SOURCE_PATH}/caffe2/core/macros.h") # We must use generated header files

View File

@ -1,7 +1,7 @@
{
"name": "libtorch",
"version": "2.1.2",
"port-version": 1,
"port-version": 2,
"description": "Tensors and Dynamic neural networks in Python with strong GPU acceleration",
"homepage": "https://pytorch.org/",
"license": null,

View File

@ -158,17 +158,14 @@ if("mlir" IN_LIST FEATURES)
endif()
if("openmp" IN_LIST FEATURES)
list(APPEND LLVM_ENABLE_PROJECTS "openmp")
# Perl is required for the OpenMP run-time
vcpkg_find_acquire_program(PERL)
list(APPEND FEATURE_OPTIONS
-DLIBOMP_INSTALL_ALIASES=OFF
-DOPENMP_ENABLE_LIBOMPTARGET=OFF # Currently libomptarget cannot be compiled on Windows or MacOS X.
-DOPENMP_ENABLE_OMPT_TOOLS=OFF # Currently tools are not tested well on Windows or MacOS X.
-DPERL_EXECUTABLE=${PERL}
)
# Perl is required for the OpenMP run-time
vcpkg_find_acquire_program(PERL)
get_filename_component(PERL_PATH ${PERL} DIRECTORY)
vcpkg_add_to_path(${PERL_PATH})
# Skip post-build check
set(VCPKG_POLICY_SKIP_DUMPBIN_CHECKS enabled)
endif()
if("polly" IN_LIST FEATURES)
list(APPEND LLVM_ENABLE_PROJECTS "polly")

View File

@ -1,7 +1,7 @@
{
"name": "llvm",
"version": "17.0.2",
"port-version": 3,
"port-version": 4,
"description": "The LLVM Compiler Infrastructure.",
"homepage": "https://llvm.org",
"license": "Apache-2.0",

View File

@ -15,25 +15,25 @@
<archiveName>python-3.11.8.nupkg.zip</archiveName>
</tool>
<tool name="cmake" os="windows">
<version>3.27.1</version>
<exeRelativePath>cmake-3.27.1-windows-i386/bin/cmake.exe</exeRelativePath>
<url>https://github.com/Kitware/CMake/releases/download/v3.27.1/cmake-3.27.1-windows-i386.zip</url>
<sha512>a847f636fb27ba41ba9e6eaafa56937c614bcb39c6d0c9723241c229a9b0a77b4d00ebee88639561035d43f9aa64895f387eab56c628990c01191da57839cda0</sha512>
<archiveName>cmake-3.27.1-windows-i386.zip</archiveName>
<version>3.29.0</version>
<exeRelativePath>cmake-3.29.0-windows-i386/bin/cmake.exe</exeRelativePath>
<url>https://github.com/Kitware/CMake/releases/download/v3.29.0/cmake-3.29.0-windows-i386.zip</url>
<sha512>70cdd5e13ac40cd1a1e2faf0cb0c3e937734c70751bf804af999bcf01b562e34b9f4fbe7da160604278d7cea7cf8676190013ae9b50f198275da2b78d0e3da64</sha512>
<archiveName>cmake-3.29.0-windows-i386.zip</archiveName>
</tool>
<tool name="cmake" os="osx">
<version>3.27.1</version>
<exeRelativePath>cmake-3.27.1-macos-universal/CMake.app/Contents/bin/cmake</exeRelativePath>
<url>https://github.com/Kitware/CMake/releases/download/v3.27.1/cmake-3.27.1-macos-universal.tar.gz</url>
<sha512>78e639b93786eb994bdbc6263afc48267d42d9305c1cb1cb9482adf012e7b4f45934e744a98eaf93d8361f154e642cada13398cca064c1700f009a7795746fe7</sha512>
<archiveName>cmake-3.27.1-macos-universal.tar.gz</archiveName>
<version>3.29.0</version>
<exeRelativePath>cmake-3.29.0-macos-universal/CMake.app/Contents/bin/cmake</exeRelativePath>
<url>https://github.com/Kitware/CMake/releases/download/v3.29.0/cmake-3.29.0-macos-universal.tar.gz</url>
<sha512>0d4c6958ce88bd2ebbb3f3a1e6c9cf4f67017c195009b43bb2418a1b4f1068ab750c781a6eb6f43531a8423c8518957312dbf9234e1a8a5e32a350e775c884eb</sha512>
<archiveName>cmake-3.29.0-macos-universal.tar.gz</archiveName>
</tool>
<tool name="cmake" os="linux">
<version>3.27.1</version>
<exeRelativePath>cmake-3.27.1-linux-x86_64/bin/cmake</exeRelativePath>
<url>https://github.com/Kitware/CMake/releases/download/v3.27.1/cmake-3.27.1-linux-x86_64.tar.gz</url>
<sha512>192374a68e2971f04974a194645726196d9b8ee7abd650d1e6f65f7aa2ccc9b186c3edb473bb4958c764532edcdd42f4182ee1fcb86b17d78b0bcd6305ce3df1</sha512>
<archiveName>cmake-3.27.1-linux-x86_64.tar.gz</archiveName>
<version>3.29.0</version>
<exeRelativePath>cmake-3.29.0-linux-x86_64/bin/cmake</exeRelativePath>
<url>https://github.com/Kitware/CMake/releases/download/v3.29.0/cmake-3.29.0-linux-x86_64.tar.gz</url>
<sha512>8bbcb45315f95e678fb559f11578c632028b1c69730db840db888d5e254f79b614b134b1b414a6f85d9d1e735965cb69fbfe1b692ccd6f1b9f3cee296b5d56b1</sha512>
<archiveName>cmake-3.29.0-linux-x86_64.tar.gz</archiveName>
</tool>
<tool name="git" os="windows">
<version>2.7.4</version>

View File

@ -5026,7 +5026,7 @@
},
"libtorch": {
"baseline": "2.1.2",
"port-version": 1
"port-version": 2
},
"libtorrent": {
"baseline": "2.0.10",
@ -5358,7 +5358,7 @@
},
"llvm": {
"baseline": "17.0.2",
"port-version": 3
"port-version": 4
},
"lmdb": {
"baseline": "0.9.31",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "dc47289cdf640ce30bdd1039a49264c8381c2b19",
"version": "2.1.2",
"port-version": 2
},
{
"git-tree": "19855d043442630ea2d8060e49c66cc50c0c9d7a",
"version": "2.1.2",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "9b38326a02fb44545071f8a4ee72ca3e2bc9bd8e",
"version": "17.0.2",
"port-version": 4
},
{
"git-tree": "ce44a7977e6376d53613ed81224eb992a0b82a98",
"version": "17.0.2",