diff options
author | Glenn Johnson <glenn-johnson@uiowa.edu> | 2020-01-02 19:30:13 -0600 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2020-01-02 19:30:13 -0600 |
commit | 729e43ffac23ba512da0014cfef83f3e3d3e2919 (patch) | |
tree | 1eb9759392f2a9429909baab38691e7da428caff /.gitlab-ci.yml | |
parent | 39a09691c555ea26c03742b2163519e3a06214b2 (diff) | |
download | spack-729e43ffac23ba512da0014cfef83f3e3d3e2919.tar.gz spack-729e43ffac23ba512da0014cfef83f3e3d3e2919.tar.bz2 spack-729e43ffac23ba512da0014cfef83f3e3d3e2919.tar.xz spack-729e43ffac23ba512da0014cfef83f3e3d3e2919.zip |
Get py-numpy > 1.16 to build with Intel compiler (#14360)
Beginning with numpy > 1.16 when using older versions of gcc the
`std=c99` flag must be used. The Intel compiler depends on gcc for its
language extensions so the version of gcc is important. If the version
of gcc used by the Intel compiler is one that requires the `-std=c99`
flag then that flag will have to be used for a build with the Intel
compiler as well.
This PR tests the version of gcc used by the Intel compiler and will
abort the build if the gcc version is < 4.8 and inject the `-std=c99`
flag if >= 4.8 and < 5.1. This will cover the system gcc compiler and
any gcc environment module loaded at build time.
Diffstat (limited to '.gitlab-ci.yml')
0 files changed, 0 insertions, 0 deletions