Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Y
YACO
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mpim-sw
YACO
Commits
eed11ab4
Commit
eed11ab4
authored
4 months ago
by
Siddhant Tibrewal
Browse files
Options
Downloads
Patches
Plain Diff
healpix building uses lib64 as an rpath to avoid linking errors
parent
17fcdd0b
No related branches found
Branches containing commit
No related tags found
1 merge request
!46
Build process for multiple compilers across different machines
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/setup/build-dependencies.sh
+7
-1
7 additions, 1 deletion
scripts/setup/build-dependencies.sh
with
7 additions
and
1 deletion
scripts/setup/build-dependencies.sh
+
7
−
1
View file @
eed11ab4
...
...
@@ -169,13 +169,19 @@ function install_healpix {
HEALPIX_ROOT
=
$REPO_PATH
/src/cxx
HEALPIX_BUILD_DIR
=
$HEALPIX_ROOT
/build
ld_flags
=
"-L
$INSTALL_DIR
/lib"
if
[
-d
"
$INSTALL_DIR
/lib64"
]
;
then
echo
"appending lib64 folder to ldflags"
ld_flags
=
"
$ld_flags
-L
$INSTALL_DIR
/lib64 -Wl,-rpath,
$INSTALL_DIR
/lib64"
fi
cd
"
$HEALPIX_ROOT
"
autoreconf
-ifv
mkdir
-p
"
$HEALPIX_BUILD_DIR
"
cd
"
$HEALPIX_BUILD_DIR
"
INCLUDE_FLAGS
=
"-I
$INSTALL_DIR
/include"
invoke_build_script_generation
$HEALPIX_ROOT
/configure
--prefix
=
$INSTALL_DIR
CFLAGS
=
"
$INCLUDE_FLAGS
"
CXXFLAGS
=
"
$INCLUDE_FLAGS
"
LDFLAGS
=
"
-L
$INSTALL_DIR
/lib -L
$INSTALL_DIR
/lib64
"
invoke_build_script_generation
$HEALPIX_ROOT
/configure
--prefix
=
$INSTALL_DIR
CFLAGS
=
"
$INCLUDE_FLAGS
"
CXXFLAGS
=
"
$INCLUDE_FLAGS
"
LDFLAGS
=
"
$ld_flags
"
make
-j
"
$THREADS
"
make
install
...
...
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
register
or
sign in
to comment