Skip to content

Commit

Permalink
[14_0_X] Fix GBL compilation for non-x64 architectures
Browse files Browse the repository at this point in the history
  • Loading branch information
iarspider committed Feb 7, 2024
1 parent 12cc920 commit 72c460f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gbl.spec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ cmake ../cpp \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DEIGEN3_INCLUDE_DIR=${EIGEN_ROOT}/include/eigen3 \
-DSUPPORT_ROOT=False \
%ifarch x86_64
-DCMAKE_CXX_FLAGS="-DEIGEN_MAX_ALIGN_BYTES=64 -msse3" \
%else
-DCMAKE_CXX_FLAGS="-DEIGEN_MAX_ALIGN_BYTES=64" \
%endif
-DCMAKE_CXX_STANDARD=%{cms_cxx_standard}

make %{makeprocesses}
Expand Down

0 comments on commit 72c460f

Please sign in to comment.