Skip to content
Snippets Groups Projects
Commit d2de7b5d authored by Ray Garcia's avatar Ray Garcia :scream_cat:
Browse files

more compile flag fixes

parent 2cc32e53
No related branches found
No related tags found
No related merge requests found
...@@ -12,9 +12,11 @@ RUN cd /opt && echo "using branch or tag ${BORT}" \ ...@@ -12,9 +12,11 @@ RUN cd /opt && echo "using branch or tag ${BORT}" \
RUN ln -s shellb3-cspp-py38/ShellB3 /opt/ShellB3 RUN ln -s shellb3-cspp-py38/ShellB3 /opt/ShellB3
RUN ln -s /opt/shellb3-cspp-py38 /work/ShellB3 RUN ln -s /opt/shellb3-cspp-py38 /work/ShellB3
ARG PYTHON_VERSION=38 ARG PYTHON_VERSION=38
ARG LINUXCPUFLAGS="-march=ivybridge -fPIC"
WORKDIR /opt/shellb3-cspp-py38/ShellB3 WORKDIR /opt/shellb3-cspp-py38/ShellB3
RUN export MAKEFLAGS="-j$(nproc)" && nice ./shallbethree.sh mk_gcc8 ENV MAKEFLAGS=-j24
RUN export MAKEFLAGS="-j$(nproc)" && nice ./shallbethree.sh mk_${TRIM} RUN ./shallbethree.sh mk_gcc8
ARG LINUXCPUFLAGS="-march=ivybridge -fPIC"
ENV LINUXCPUFLAGS
RUN ./shallbethree.sh mk_${TRIM}
WORKDIR /work WORKDIR /work
RUN echo export HOSTNAME=$(perl -ne '/.*"HOSTNAME": "(\w+)",/ && print "$1";' </opt/shellb3-cspp-py38/ShellB3/build/.build_env.json) >/etc/profile.d/99-build-host.sh RUN echo export HOSTNAME=$(perl -ne '/.*"HOSTNAME": "(\w+)",/ && print "$1";' </opt/shellb3-cspp-py38/ShellB3/build/.build_env.json) >/etc/profile.d/99-build-host.sh
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment