Skip to content

Commit

Permalink
parallel-libs/hypre: fix build with arm compiler
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Reber <areber@redhat.com>
  • Loading branch information
adrianreber committed Mar 28, 2023
1 parent 4272225 commit 9603f15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/parallel-libs/hypre/SPECS/hypre.spec
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ module load openblas
%endif

%if "%{compiler_family}" == "arm1"
optflags="-O3 -fsimdmath"
export CFLAGS="${CFLAGS} -fsimdmath"
%endif


FLAGS="%optflags -fPIC -Dhypre_dgesvd=dgesvd_ -Dhypre_dlamch=dlamch_ -Dhypre_blas_lsame=hypre_lapack_lsame -Dhypre_blas_xerbla=hypre_lapack_xerbla "
FLAGS="${CFLAGS} -fPIC -Dhypre_dgesvd=dgesvd_ -Dhypre_dlamch=dlamch_ -Dhypre_blas_lsame=hypre_lapack_lsame -Dhypre_blas_xerbla=hypre_lapack_xerbla "
cd src
./configure \
--prefix=%{install_path} \
Expand Down

0 comments on commit 9603f15

Please sign in to comment.