Skip to content

Commit

Permalink
Merge pull request #21752 from bedroge/fix_sionlib_non_x86-64_archs
Browse files Browse the repository at this point in the history
remove `-m64` compiler flag for non-x86-64 CPU architectures in SIONlib 1.7.7 easyconfigs
  • Loading branch information
ocaisa authored Oct 29, 2024
2 parents f3ab171 + 6b8b534 commit 4468e15
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ builddependencies = [
('binutils', '2.37'),
]

# remove -m64 flag from PFLAG variable in Makefiles for CPU architectures that don't support it
if ARCH != 'x86_64':
preconfigopts = 'sed -i "s|PFLAG = -m\\$(PREC)|PFLAG = |" mf/Makefile.defs.linux-gomp* && '

configopts = '--disable-cxx --disable-fortran --disable-ompi '

# Comment it out if you have Xeon Phi:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ builddependencies = [
('binutils', '2.38'),
]

# remove -m64 flag from PFLAG variable in Makefiles for CPU architectures that don't support it
if ARCH != 'x86_64':
preconfigopts = 'sed -i "s|PFLAG = -m\\$(PREC)|PFLAG = |" mf/Makefile.defs.linux-gomp* && '

configopts = '--disable-cxx --disable-fortran --disable-ompi '

# Comment it out if you have Xeon Phi:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ builddependencies = [
('binutils', '2.39'),
]

# remove -m64 flag from PFLAG variable in Makefiles for CPU architectures that don't support it
if ARCH != 'x86_64':
preconfigopts = 'sed -i "s|PFLAG = -m\\$(PREC)|PFLAG = |" mf/Makefile.defs.linux-gomp* && '

configopts = '--disable-cxx --disable-fortran --disable-ompi '

# Comment it out if you have Xeon Phi:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ builddependencies = [
('binutils', '2.40'),
]

# remove -m64 flag from PFLAG variable in Makefiles for CPU architectures that don't support it
if ARCH != 'x86_64':
preconfigopts = 'sed -i "s|PFLAG = -m\\$(PREC)|PFLAG = |" mf/Makefile.defs.linux-gomp* && '

configopts = '--disable-cxx --disable-fortran --disable-ompi '

# Comment it out if you have Xeon Phi:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ builddependencies = [
('binutils', '2.40'),
]

# remove -m64 flag from PFLAG variable in Makefiles for CPU architectures that don't support it
if ARCH != 'x86_64':
preconfigopts = 'sed -i "s|PFLAG = -m\\$(PREC)|PFLAG = |" mf/Makefile.defs.linux-gomp* && '

configopts = '--disable-cxx --disable-fortran --disable-ompi '

# Comment it out if you have Xeon Phi:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ builddependencies = [
('binutils', '2.42'),
]

# remove -m64 flag from PFLAG variable in Makefiles for CPU architectures that don't support it
if ARCH != 'x86_64':
preconfigopts = 'sed -i "s|PFLAG = -m\\$(PREC)|PFLAG = |" mf/Makefile.defs.linux-gomp* && '

configopts = '--disable-cxx --disable-fortran --disable-ompi '

# Comment it out if you have Xeon Phi:
Expand Down

0 comments on commit 4468e15

Please sign in to comment.