Skip to content

Commit

Permalink
update(cmake): bumped container plugin to 0.1.0-beta.
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <[email protected]>
  • Loading branch information
FedeDP committed Jan 20, 2025
1 parent b8becb0 commit b91ae13
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions cmake/modules/container_plugin.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,21 @@
#

set(CONTAINER_LIBRARY "${CMAKE_CURRENT_BINARY_DIR}/container_plugin-prefix/src/libcontainer.so")
set(CONTAINER_VERSION "0.1.0-alpha")
set(CONTAINER_VERSION "0.1.0-beta")
if(${CMAKE_HOST_SYSTEM_PROCESSOR} STREQUAL "x86_64")
set(CONTAINER_HASH "7a52cc7c3c1d9763a0137a62ef4e3780376680c5a764a43a43ebd21baff535f3")
set(CONTAINER_ARCH "amd64")
else() # arm64
set(CONTAINER_HASH "db6f31c6068acedb3bd25225b732a77457bb83b29e4974e94252dd5d31f6483d")
set(CONTAINER_ARCH "arm64")
endif()
if(NOT TARGET container_plugin)
message(STATUS "Fetching container plugin ${CONTAINER_VERSION} in '${CONTAINER_LIBRARY}'")
ExternalProject_Add(
container_plugin
URL "https://github.com/FedeDP/container_plugin/releases/download/${CONTAINER_VERSION}/libcontainer.so"
# URL_HASH "SHA256="
URL "https://github.com/FedeDP/container_plugin/releases/download/${CONTAINER_VERSION}/libcontainer_${CONTAINER_ARCH}.so"
URL_HASH "SHA256=${CONTAINER_HASH}"
DOWNLOAD_NAME "libcontainer.so"
DOWNLOAD_NO_EXTRACT 1
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
Expand Down

0 comments on commit b91ae13

Please sign in to comment.