Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Spack
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
eic_tools
Spack
Commits
b1628f0a
Commit
b1628f0a
authored
Mar 27, 2018
by
Veselin Dobrev
Browse files
Options
Downloads
Patches
Plain Diff
[MUMPS] When building '+shared' put the 'inject_libs' after the object
files to get proper linking - this was needed on Ubuntu 14.04.
parent
6f0472ea
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
var/spack/repos/builtin/packages/mumps/package.py
+10
-2
10 additions, 2 deletions
var/spack/repos/builtin/packages/mumps/package.py
with
10 additions
and
2 deletions
var/spack/repos/builtin/packages/mumps/package.py
+
10
−
2
View file @
b1628f0a
...
@@ -232,10 +232,18 @@ def write_makefile_inc(self):
...
@@ -232,10 +232,18 @@ def write_makefile_inc(self):
else
:
else
:
makefile_conf
.
extend
([
makefile_conf
.
extend
([
'
LIBEXT=.so
'
,
'
LIBEXT=.so
'
,
'
AR=$(FL) -shared -Wl,-soname -Wl,%s/$(notdir $@) %s -o
'
%
'
AR=link_cmd() { $(FL) -shared -Wl,-soname
'
'
-Wl,%s/$(notdir $@) -o
"
$$@
"
%s; }; link_cmd
'
%
(
prefix
.
lib
,
inject_libs
),
(
prefix
.
lib
,
inject_libs
),
'
RANLIB=
echo
'
'
RANLIB=
ls
'
])
])
# When building libpord, read AR from Makefile.inc instead of
# going through the make command line - this prevents various
# problems with the substring "$$@".
filter_file
(
'
AR=
"
\$\(AR\)
"'
,
''
,
'
Makefile
'
)
filter_file
(
'
^(INCLUDES = -I../include)
'
,
'
\\
1
\n
include ../../Makefile.inc
'
,
join_path
(
'
PORD
'
,
'
lib
'
,
'
Makefile
'
))
if
using_xl
:
if
using_xl
:
# The patches for xl + spectrum-mpi use SAR for linking
# The patches for xl + spectrum-mpi use SAR for linking
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment