Skip to content

Commit 82ea336

Browse files
authored
Merge pull request #3021 from athenianco/remove-emit-relocs
Completely remove "future" compile flags for Bolt
2 parents 8295652 + cff9a32 commit 82ea336

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ RUN apt-get update && \
4747
rm -rf /var/lib/apt/lists/*
4848

4949
# matches our production except -march=haswell, we have to downgrade -march because of GHA
50-
ENV OPT="-fno-semantic-interposition -Wl,--emit-relocs -march=haswell -mabm -maes -mno-pku -mno-sgx --param l1-cache-line-size=64 --param l1-cache-size=32 --param l2-cache-size=33792"
51-
# Bolt: -fno-reorder-blocks-and-partition
50+
ENV OPT="-pipe -fno-semantic-interposition -march=haswell -mabm -maes -mno-pku -mno-sgx --param l1-cache-line-size=64 --param l1-cache-size=32 --param l2-cache-size=33792"
51+
# Bolt: -Wl,--emit-relocs -fno-reorder-blocks-and-partition
5252

5353
# runtime environment
5454
RUN echo 'deb-src http://archive.ubuntu.com/ubuntu/ jammy main restricted' >>/etc/apt/sources.list && \
@@ -132,8 +132,8 @@ RUN apt-get update && \
132132

133133
# numpy
134134
RUN echo '[ALL]\n\
135-
extra_compile_args = -O3 -fopenmp -flto -ftree-vectorize OPT\n\
136-
extra_link_args = -O3 -fopenmp -flto -ftree-vectorize OPT\n\
135+
extra_compile_args = -O3 -fopenmp -flto OPT\n\
136+
extra_link_args = -O3 -fopenmp -flto OPT\n\
137137
\n\
138138
[fftw]\n\
139139
libraries = fftw3\n\

0 commit comments

Comments
 (0)