chore(ci): enable {build,link}-time optimizations

This commit is contained in:
surtur 2021-06-15 15:03:27 +02:00
parent 7528466026
commit c8e0a165a1
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -75,6 +75,8 @@ steps:
volumes:
- name: usrcache
path: /usr
environment:
CMAKE_CXX_FLAGS: "-lpthread -O3 -march=native -flto -fPIE"
commands:
- export MAKEFLAGS="$MAKEFLAGS -j$(nproc)"
- cd src
@ -102,6 +104,8 @@ steps:
volumes:
- name: usrcache
path: /usr
environment:
CMAKE_CXX_FLAGS: "-lpthread -O3 -march=native -flto -fPIE"
commands:
- export MAKEFLAGS="$MAKEFLAGS -j$(nproc)"
- cd src
@ -120,6 +124,8 @@ steps:
volumes:
- name: usrcache
path: /usr
environment:
CMAKE_CXX_FLAGS: "-lpthread -O3 -march=native -flto -fPIE"
commands:
- export MAKEFLAGS="$MAKEFLAGS -j$(nproc)"
- cd src
@ -158,6 +164,8 @@ steps:
volumes:
- name: usrcache
path: /usr
environment:
CMAKE_CXX_FLAGS: "-lpthread -O3 -march=native -flto -fPIE"
commands:
- ld --version
- gcc --version
@ -187,6 +195,8 @@ steps:
volumes:
- name: usrcache
path: /usr
environment:
CMAKE_CXX_FLAGS: "-lpthread -O3 -march=native -flto -fPIE"
commands:
- export MAKEFLAGS="$MAKEFLAGS -j$(nproc)"
- cd src
@ -205,6 +215,8 @@ steps:
volumes:
- name: usrcache
path: /usr
environment:
CMAKE_CXX_FLAGS: "-lpthread -O3 -march=native -flto -fPIE"
commands:
- export MAKEFLAGS="$MAKEFLAGS -j$(nproc)"
- cd src