1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

change cmake_opts

Signed-off-by: Alexandra <alexandra.bach@eonerc.rwth-aachen.de>
This commit is contained in:
Alexandra 2024-10-24 14:00:14 +00:00
parent 10af1f3e86
commit 8afb02d454

View file

@ -57,8 +57,6 @@ build:source:
needs: ["prepare:docker"]
image: ${DOCKER_IMAGE_DEV}:${DOCKER_TAG}
script:
# Check if the configuration file exists and source it if it does
- if [ -f build_options.env ]; then source build_options.env; fi
- cmake -S . -B build ${CMAKE_OPTS} ${CMAKE_EXTRA_OPTS}
- cmake --build build ${CMAKE_BUILD_OPTS}
artifacts:
@ -216,7 +214,7 @@ pkg:docker:minimal:
--target ${TARGET}
--build-arg ARCH=${ARCH}
--build-arg TRIPLET=${TRIPLET}
--build-arg CMAKE_OPTS="${CMAKE_OPTS} ${CMAKE_EXTRA_OPTS} -DMINIMAL_BUILD=ON"
--build-arg CMAKE_OPTS="-DWITH_NODE_SOCKET=ON -DWITH_NODE_SIGNAL=ON ${CMAKE_EXTRA_OPTS}"
--platform ${PLATFORM}
--file ${DOCKER_FILE}
--tag ${DOCKER_IMAGE}:${DOCKER_TAG}-${ARCH}-minimal .