Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Trac #29453: detect compiler flags in spkg-configure's POST phase.
Browse files Browse the repository at this point in the history
To prevent --without-system-fflas-ffpack from skipping the compiler
flag detection, this commit moves those checks to the "POST" phase of
SAGE_SPKG_CONFIGURE.
  • Loading branch information
orlitzky committed Apr 3, 2020
1 parent 5ce8498 commit 88c1717
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build/pkgs/fflas_ffpack/spkg-configure.m4
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ SAGE_SPKG_CONFIGURE([fflas_ffpack], [
# fflas-ffpack SPKG as well.
sage_spkg_install_fflas_ffpack=yes
])
# Warning: this doesn't get executed with --without-system-fflas-ffpack
],[],[],[
# Run this AFTER the check above, unconditionally, so that in particular
# it gets run if the user passes --without-system-fflas-ffpack to the
# ./configure script.
AS_IF([test "x$sage_spkg_install_fflas_ffpack" = "xyes"],[
dnl https://github.com/linbox-team/fflas-ffpack/blob/master/macros/instr_set.m4
dnl discovers these flags from the processor but fails to check whether
Expand Down

0 comments on commit 88c1717

Please sign in to comment.