Skip to content

Commit 18a2170

Browse files
Update buildcache to v0.31.7 (#14)
* Update buildcache to v0.31.7 * Update buildcache download URL * Update archive artifact name * Update Windows archive artifact name
1 parent e92dd0f commit 18a2170

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cmake/buildcache.cmake

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ else()
1616
if (APPLE)
1717
set(buildcache-archive "buildcache-macos.zip")
1818
elseif(UNIX)
19-
set(buildcache-archive "buildcache-linux.tar.gz")
19+
set(buildcache-archive "buildcache-linux-amd64.tar.gz")
2020
elseif(WIN32)
21-
set(buildcache-archive "buildcache-win-msvc.zip")
21+
set(buildcache-archive "buildcache-windows.zip")
2222
else()
2323
message(FATAL "Error: NO_BUILDCACHE was not set but buildcache was not in path and system OS detection failed")
2424
endif()
2525

26-
set(buildcache-url "https://github.com/mbitsnbites/buildcache/releases/download/v0.22.3/${buildcache-archive}")
26+
set(buildcache-url "https://gitlab.com/bits-n-bites/buildcache/-/releases/v0.31.7/downloads/${buildcache-archive}")
2727
message(STATUS "Downloading buildcache binary from ${buildcache-url}")
2828
file(DOWNLOAD "${buildcache-url}" ${CMAKE_CURRENT_BINARY_DIR}/${buildcache-archive})
2929
execute_process(
@@ -32,4 +32,4 @@ else()
3232
message(STATUS "using buildcache: ${buildcache-bin}")
3333
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ${buildcache-bin})
3434
endif()
35-
endif()
35+
endif()

0 commit comments

Comments
 (0)