Exposed ARG LMS_UNITY_BUILD var
This commit is contained in:
+11
-8
@@ -16,14 +16,17 @@ ARG BUILD_PACKAGES="\
|
|||||||
wt \
|
wt \
|
||||||
xxhash"
|
xxhash"
|
||||||
|
|
||||||
RUN pacman -Syu --noconfirm
|
RUN pacman -Syu --noconfirm ${BUILD_PACKAGES} && \
|
||||||
RUN pacman -S --noconfirm ${BUILD_PACKAGES}
|
pacman -Scc --noconfirm && \
|
||||||
|
rm -rf /var/cache/pacman/pkg/*
|
||||||
|
|
||||||
# LMS
|
# LMS
|
||||||
COPY . /tmp/lms/
|
COPY . /tmp/lms/
|
||||||
ARG LMS_BUILD_TYPE="Release"
|
RUN mkdir -p /tmp/lms/build
|
||||||
RUN \
|
WORKDIR /tmp/lms/build
|
||||||
DIR=/tmp/lms/build && mkdir -p ${DIR} && cd ${DIR} && \
|
|
||||||
cmake /tmp/lms/ -DCMAKE_BUILD_TYPE=${LMS_BUILD_TYPE} -DCMAKE_INSTALL_PREFIX=/usr -DLMS_IMAGE_BACKEND=graphicsmagick -DBUILD_BENCHMARKS=ON && \
|
ARG LMS_BUILD_TYPE=Release
|
||||||
VERBOSE=1 make -j$(nproc) && \
|
ARG LMS_UNITY_BUILD=ON
|
||||||
make test
|
RUN cmake .. -DCMAKE_BUILD_TYPE=${LMS_BUILD_TYPE} -DCMAKE_UNITY_BUILD=${LMS_UNITY_BUILD} -DLMS_IMAGE_BACKEND=graphicsmagick -DBUILD_BENCHMARKS=ON
|
||||||
|
RUN VERBOSE=1 make -j$(nproc)
|
||||||
|
RUN make test
|
||||||
|
|||||||
Reference in New Issue
Block a user