[postgis-tickets] r16216 - [travis] Travis lies about cpu type which causes -march builds to fail.

Darafei komzpa at gmail.com
Tue Jan 2 10:38:27 PST 2018


Author: komzpa
Date: 2018-01-02 10:38:27 -0800 (Tue, 02 Jan 2018)
New Revision: 16216

Modified:
   trunk/.travis.yml
Log:
[travis] Travis lies about cpu type which causes -march builds to fail.

Change the build matrix.

References #3967



Modified: trunk/.travis.yml
===================================================================
--- trunk/.travis.yml	2018-01-02 15:11:08 UTC (rev 16215)
+++ trunk/.travis.yml	2018-01-02 18:38:27 UTC (rev 16216)
@@ -2,8 +2,9 @@
   global:
     - RUNTESTFLAGS=-v
   matrix:
-    - CFLAGS="-O3 -march=native -mtune=native"
-    - CFLAGS="-O3 -march=native -mtune=native -fno-omit-frame-pointer -Werror"
+    - CFLAGS="-Og"
+    - CFLAGS="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security" LDFLAGS="-Wl,-Bsymbolic-functions -Wl,-z,relro"
+    - CFLAGS="-O3 -mtune=generic -fno-omit-frame-pointer -Werror"
     - CFLAGS="-O0 --coverage -fprofile-arcs -ftest-coverage" LDFLAGS="--coverage -fprofile-arcs -ftest-coverage"
 
 addons:
@@ -43,6 +44,7 @@
 
 after_failure:
   - sudo head -n1000 /var/log/postgresql/postgresql-9.6-main.log 
+  - cat /proc/cpuinfo
 
 after_success:
   - bash <(curl -s https://codecov.io/bash)



More information about the postgis-tickets mailing list