chore(ci): enable {build,link}-time optimizations
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
fe2d3cf344
commit
cda6f4f877
12
.drone.yml
12
.drone.yml
@ -75,6 +75,8 @@ steps:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: usrcache
|
- name: usrcache
|
||||||
path: /usr
|
path: /usr
|
||||||
|
environment:
|
||||||
|
CMAKE_CXX_FLAGS: "-lpthread -O3 -march=native -flto -fPIE"
|
||||||
commands:
|
commands:
|
||||||
- export MAKEFLAGS="$MAKEFLAGS -j$(nproc)"
|
- export MAKEFLAGS="$MAKEFLAGS -j$(nproc)"
|
||||||
- cd src
|
- cd src
|
||||||
@ -102,6 +104,8 @@ steps:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: usrcache
|
- name: usrcache
|
||||||
path: /usr
|
path: /usr
|
||||||
|
environment:
|
||||||
|
CMAKE_CXX_FLAGS: "-lpthread -O3 -march=native -flto -fPIE"
|
||||||
commands:
|
commands:
|
||||||
- export MAKEFLAGS="$MAKEFLAGS -j$(nproc)"
|
- export MAKEFLAGS="$MAKEFLAGS -j$(nproc)"
|
||||||
- cd src
|
- cd src
|
||||||
@ -120,6 +124,8 @@ steps:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: usrcache
|
- name: usrcache
|
||||||
path: /usr
|
path: /usr
|
||||||
|
environment:
|
||||||
|
CMAKE_CXX_FLAGS: "-lpthread -O3 -march=native -flto -fPIE"
|
||||||
commands:
|
commands:
|
||||||
- export MAKEFLAGS="$MAKEFLAGS -j$(nproc)"
|
- export MAKEFLAGS="$MAKEFLAGS -j$(nproc)"
|
||||||
- cd src
|
- cd src
|
||||||
@ -158,6 +164,8 @@ steps:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: usrcache
|
- name: usrcache
|
||||||
path: /usr
|
path: /usr
|
||||||
|
environment:
|
||||||
|
CMAKE_CXX_FLAGS: "-lpthread -O3 -march=native -flto -fPIE"
|
||||||
commands:
|
commands:
|
||||||
- ld --version
|
- ld --version
|
||||||
- gcc --version
|
- gcc --version
|
||||||
@ -187,6 +195,8 @@ steps:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: usrcache
|
- name: usrcache
|
||||||
path: /usr
|
path: /usr
|
||||||
|
environment:
|
||||||
|
CMAKE_CXX_FLAGS: "-lpthread -O3 -march=native -flto -fPIE"
|
||||||
commands:
|
commands:
|
||||||
- export MAKEFLAGS="$MAKEFLAGS -j$(nproc)"
|
- export MAKEFLAGS="$MAKEFLAGS -j$(nproc)"
|
||||||
- cd src
|
- cd src
|
||||||
@ -205,6 +215,8 @@ steps:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: usrcache
|
- name: usrcache
|
||||||
path: /usr
|
path: /usr
|
||||||
|
environment:
|
||||||
|
CMAKE_CXX_FLAGS: "-lpthread -O3 -march=native -flto -fPIE"
|
||||||
commands:
|
commands:
|
||||||
- export MAKEFLAGS="$MAKEFLAGS -j$(nproc)"
|
- export MAKEFLAGS="$MAKEFLAGS -j$(nproc)"
|
||||||
- cd src
|
- cd src
|
||||||
|
Loading…
Reference in New Issue
Block a user