Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update(cmake): bumped container plugin to 0.1.0-beta2.
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
FedeDP committed Jan 21, 2025
1 parent b8becb0 commit ca705a6
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
@@ -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-beta2")
if(${CMAKE_HOST_SYSTEM_PROCESSOR} STREQUAL "x86_64")
set(CONTAINER_HASH "3899614434cf462933e71d07a3061446fd93dd4b964befbce78ef90931ddfbc2")
set(CONTAINER_ARCH "amd64")
else() # arm64
set(CONTAINER_HASH "c89b94428796fc6690f63982ed51db068ddd83a7048c8163e8ef88bceb22843b")
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 ""

0 comments on commit ca705a6

Please sign in to comment.