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
48797335
Commit
48797335
authored
4 months ago
by
Siddhant Tibrewal
Browse files
Options
Downloads
Patches
Plain Diff
fixed improper escaping of list arguments in helper scripts
parent
ebc31ab5
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
+4
-6
4 additions, 6 deletions
scripts/setup/build-dependencies.sh
with
4 additions
and
6 deletions
scripts/setup/build-dependencies.sh
+
4
−
6
View file @
48797335
...
...
@@ -55,10 +55,10 @@ function clone_to {
# invoke with the specified CC and CXX if they are present as variables
function
invoke_build_script_generation
{
if
[
-n
"
$CC
"
]
&&
[
-x
"
${
CC
}
"
]
&&
[
-n
"
$CXX
"
]
&&
[
-x
"
${
CXX
}
"
]
&&
[
-n
"
$FC
"
]
&&
[
-x
"
${
FC
}
"
]
;
then
echo
"invoking.. CC=
$CC
CXX=
$CXX
cmake
$@
"
CC
=
$CC
CXX
=
$CXX
$@
echo
"invoking.. CC=
$CC
CXX=
$CXX
FC=
$FC
"
$@
"
"
CC
=
$CC
CXX
=
$CXX
FC
=
$FC
"
$@
"
else
$@
"
$@
"
fi
}
...
...
@@ -159,7 +159,7 @@ function install_healpix {
mkdir
-p
"
$LIBSHARP_BUILD_FOLDER
"
cd
"
$LIBSHARP_BUILD_FOLDER
"
"
$LIBSHARP_ROOT
"
/configure
--prefix
=
"
$INSTALL_DIR
"
invoke_build_script_generation
"
$LIBSHARP_ROOT
"
/configure
--prefix
=
"
$INSTALL_DIR
"
make
-j
"
$THREADS
"
make
install
...
...
@@ -211,7 +211,6 @@ function install_yaxt {
clone_to https://gitlab.dkrz.de/dkrz-sw/yaxt.git
"
$REPO_PATH
"
"
$REPO_TAG_YAXT
"
#-------------------------------------------------------------------------------------
# install yac
cd
"
$REPO_PATH
"
autoreconf
-ifv
...
...
@@ -234,7 +233,6 @@ function install_yac {
clone_to https://gitlab.dkrz.de/dkrz-sw/yac.git
"
$REPO_PATH
"
"
$REPO_TAG_YAC
"
#-------------------------------------------------------------------------------------
# install yac
cd
"
$REPO_PATH
"
autoreconf
-ifv
...
...
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