Skip to content
Snippets Groups Projects
Unverified Commit c8423ca5 authored by Lars Eggert's avatar Lars Eggert Committed by GitHub
Browse files

Use "release" build profile, since "optimized" contains -march=native (#94)

* Use "release" build profile, since "optimized" contains -march=native

See https://www.nsnam.org/docs/tutorial/html/getting-started.html#id1

* Fix fd-net-device

* Fix?

* Try and find out what gets compiled

* Try and fix the copy

* Remove debug step
parent 888faa3a
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ RUN mv /ns-allinone-$VERS/ns-$VERS /ns3 ...@@ -11,7 +11,7 @@ RUN mv /ns-allinone-$VERS/ns-$VERS /ns3
WORKDIR /ns3 WORKDIR /ns3
RUN mkdir out/ RUN mkdir out/
RUN ./waf configure --build-profile=optimized --out=out/ RUN ./waf configure --build-profile=release --out=out/
RUN ./waf build RUN ./waf build
RUN cd / && \ RUN cd / && \
...@@ -42,7 +42,7 @@ RUN apt-get update && \ ...@@ -42,7 +42,7 @@ RUN apt-get update && \
apt-get clean apt-get clean
WORKDIR /ns3 WORKDIR /ns3
COPY --from=builder /ns3/out/src/fd-net-device/*optimized /ns3/out/src/fd-net-device/*debug /ns3/src/fd-net-device/ COPY --from=builder /ns3/out/src/fd-net-device/* /ns3/src/fd-net-device/
COPY --from=builder /ns3/out/scratch/*/* /ns3/scratch/ COPY --from=builder /ns3/out/scratch/*/* /ns3/scratch/
COPY --from=builder /ns3/out/lib/ /ns3/lib COPY --from=builder /ns3/out/lib/ /ns3/lib
COPY --from=builder /wait-for-it-quic/wait-for-it-quic /usr/bin COPY --from=builder /wait-for-it-quic/wait-for-it-quic /usr/bin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment