Skip to content

Commit

Permalink
Add ROOT supporting new Xcode 16.0 on macOS 15.0 and 14.7.
Browse files Browse the repository at this point in the history
  • Loading branch information
FonsRademakers committed Sep 18, 2024
1 parent b194976 commit e09510c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
9 changes: 7 additions & 2 deletions cmake/external/ROOT.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,19 @@ SET(ROOT_SOURCE_DIR "${CMAKE_THIRD_PARTY_DIR}/root")
set(ROOT_TAR_FILE root_v6.30.02_cxx17_python3.9_${DETECTED_OS_VERS}.tar.gz)
set(ROOT_SHA_KEY ${DETECTED_OS_VERS}-ROOT)
if(APPLE)
if("${DETECTED_OS_VERS}" MATCHES "^osx-14" OR
if("${DETECTED_OS_VERS}" MATCHES "^osx-15" OR
"${DETECTED_OS_VERS}" MATCHES "^osx-14" OR
"${DETECTED_OS_VERS}" MATCHES "^osx-13" OR
"${DETECTED_OS_VERS}" MATCHES "^osx-12" OR
"${DETECTED_OS_VERS}" MATCHES "^osx-11.6" OR
"${DETECTED_OS_VERS}" MATCHES "^osx-11.7")
execute_process(COMMAND bash "-c" "xcodebuild -version | sed -En 's/Xcode[[:space:]]+([0-9\.]*)/\\1/p'" OUTPUT_VARIABLE XCODE_VERS)
message(STATUS "##### XCODE version: ${XCODE_VERS}")
if("${XCODE_VERS}" GREATER_EQUAL "15.4")
if("${XCODE_VERS}" GREATER_EQUAL "16.0")
message(STATUS "##### Using ROOT builds for XCODE 16.0")
set(ROOT_TAR_FILE root_v6.33.01_cxx17_python3.9_osx-xcode-16.0-${DETECTED_ARCH}.tar.gz)
set(ROOT_SHA_KEY osx-xcode-16.0-${DETECTED_ARCH}-ROOT)
elseif("${XCODE_VERS}" GREATER_EQUAL "15.4")
message(STATUS "##### Using ROOT builds for XCODE 15.4")
set(ROOT_TAR_FILE root_v6.30.06_cxx17_python3.9_osx-xcode-15.4-${DETECTED_ARCH}.tar.gz)
set(ROOT_SHA_KEY osx-xcode-15.4-${DETECTED_ARCH}-ROOT)
Expand Down
6 changes: 6 additions & 0 deletions cmake/external/SHA256Digests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ SET(osx-14.5-i386-ParaView d2e89df30ab0e2729b28539de37753e09c061b4c434b0a68e8055
SET(osx-14.5-arm64-ParaView 5e89b785ac0c56bbca31e2ae101a8986953e90227fe42a1ef7adcc70a0ff6fc4)
SET(osx-14.6-i386-ParaView d2e89df30ab0e2729b28539de37753e09c061b4c434b0a68e80554f7fa617ccb)
SET(osx-14.6-arm64-ParaView 5e89b785ac0c56bbca31e2ae101a8986953e90227fe42a1ef7adcc70a0ff6fc4)
SET(osx-14.7-i386-ParaView d2e89df30ab0e2729b28539de37753e09c061b4c434b0a68e80554f7fa617ccb)
SET(osx-14.7-arm64-ParaView 5e89b785ac0c56bbca31e2ae101a8986953e90227fe42a1ef7adcc70a0ff6fc4)
SET(osx-15.0-i386-ParaView d2e89df30ab0e2729b28539de37753e09c061b4c434b0a68e80554f7fa617ccb)
SET(osx-15.0-arm64-ParaView 5e89b785ac0c56bbca31e2ae101a8986953e90227fe42a1ef7adcc70a0ff6fc4)
SET(osx-xcode-13.1-i386-ROOT be97dd72022c8d082fbe4394f18b55c4920f20b138cfff1b5fc2b41d397ac203)
SET(osx-xcode-13.1-arm64-ROOT 0a55b91c6df42d152b7943912e134f05c3872a73e73fcc129ee87fd847240ec8)
SET(osx-xcode-14.1-i386-ROOT 001311608512b24535bb9710b8baf006bd00e9b0595fd6bdf900d28b1e22c395)
Expand All @@ -78,6 +82,8 @@ SET(osx-xcode-15.3-i386-ROOT 52cef545acf679c3e491c9ef14e18edee454c90309b7fcf5f36
SET(osx-xcode-15.3-arm64-ROOT 3ee0885c329fab9a965c278cc491db82dcbde3999a96ac80d6f5145fb6794d1e)
SET(osx-xcode-15.4-i386-ROOT 360983914520c4c9f1d3dd03c5ccdc251b9f6835cf1bcd4b5e83e2748e04811a)
SET(osx-xcode-15.4-arm64-ROOT c50d3664b2eee3ed255ca3ae23f350aac0513bd740884b1133e0efb177bf1928)
SET(osx-xcode-16.0-i386-ROOT 360983914520c4c9f1d3dd03c5ccdc251b9f6835cf1bcd4b5e83e2748e04811a)
SET(osx-xcode-16.0-arm64-ROOT f48163b667df74038fd450ffa9dc96637ea535af4b9ff21f4643c121f30bdbfe)

SET(ubuntu-18.04-Libroadrunner bf9293c1c95d0b65227bd7e08c0048116ba851bcec5028ef72ea13762ef79276)
SET(ubuntu-18.04-ParaView e3fd74b13e9a4086988c5104c6b8d95c56365d25b491706a8e72018d0e5c76f1)
Expand Down

0 comments on commit e09510c

Please sign in to comment.