Commit 8593548d authored by Ansgar Burchardt's avatar Ansgar Burchardt

Add opts files for gcc and clang

This is easier than setting CMAKE_FLAGS directly in .gitlab-ci.yml and
allows to change options in a central place (or two places).
parent 5bf72caf
......@@ -30,3 +30,4 @@ RUN apt-get update && apt-get dist-upgrade --no-install-recommends --yes \
RUN adduser --disabled-password --home /duneci duneci
USER duneci
WORKDIR /duneci
COPY opts.clang opts.gcc /duneci
CMAKE_FLAGS="-DCMAKE_CXX_COMPILER='/usr/bin/clang++' -DCMAKE_CXX_FLAGS='-O2 -g -Wall'"
CMAKE_FLAGS="-DCMAKE_CXX_FLAGS='-O2 -g -Wall'"
......@@ -30,3 +30,4 @@ RUN apt-get update && apt-get dist-upgrade --no-install-recommends --yes \
RUN adduser --disabled-password --home /duneci duneci
USER duneci
WORKDIR /duneci
COPY opts.clang opts.gcc /duneci
CMAKE_FLAGS="-DCMAKE_CXX_COMPILER='/usr/bin/clang++' -DCMAKE_CXX_FLAGS='-O2 -g -Wall'"
CMAKE_FLAGS="-DCMAKE_CXX_FLAGS='-O2 -g -Wall'"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment