Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scitas-software-stacks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SCITAS
Software stack
scitas-software-stacks
Commits
a01a2ac6
Commit
a01a2ac6
authored
6 months ago
by
Nicolas Richart
Browse files
Options
Downloads
Patches
Plain Diff
Adding support for licenses
parent
b75e4e7b
No related branches found
No related tags found
1 merge request
!15
Add gurobi 11
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ci/setup_spack.sh
+13
-7
13 additions, 7 deletions
ci/setup_spack.sh
stacks/pinot-noir/licenses/.to_keep
+0
-0
0 additions, 0 deletions
stacks/pinot-noir/licenses/.to_keep
with
13 additions
and
7 deletions
ci/setup_spack.sh
+
13
−
7
View file @
a01a2ac6
...
@@ -58,10 +58,6 @@ cp ${STACK_CONFIG_PATH}/spack.yaml ${SPACK_SYSTEM_CONFIG_PATH}
...
@@ -58,10 +58,6 @@ cp ${STACK_CONFIG_PATH}/spack.yaml ${SPACK_SYSTEM_CONFIG_PATH}
replace_placholders
${
SPACK_SYSTEM_CONFIG_PATH
}
/spack.yaml
replace_placholders
${
SPACK_SYSTEM_CONFIG_PATH
}
/spack.yaml
cp
-r
"
${
STACK_CONFIG_PATH
}
/templates"
${
SPACK_SYSTEM_CONFIG_PATH
}
for
file
in
mirrors packages concretizer config definitions modules
for
file
in
mirrors packages concretizer config definitions modules
do
do
for
suffix
in
${
!file_mapping[@]
}
for
suffix
in
${
!file_mapping[@]
}
...
@@ -78,12 +74,22 @@ do
...
@@ -78,12 +74,22 @@ do
done
done
done
done
echo
"config:"
>
${
SPACK_SYSTEM_CONFIG_PATH
}
/config_stack.yaml
cat
<<
EOF
>
${
SPACK_SYSTEM_CONFIG_PATH
}
/config_stack.yaml
if
[
-d
cp
-r
"
${
STACK_CONFIG_PATH
}
/templates"
${
SPACK_SYSTEM_CONFIG_PATH
}
]
config:
then
cp
-r
"
${
STACK_CONFIG_PATH
}
/templates"
${
SPACK_SYSTEM_CONFIG_PATH
}
cat
<<
EOF
>>
${
SPACK_SYSTEM_CONFIG_PATH
}
/config_stack.yaml
template_dirs:
template_dirs:
-
${
SPACK_SYSTEM_CONFIG_PATH
}
/templates
-
${
SPACK_SYSTEM_CONFIG_PATH
}
/templates
EOF
EOF
fi
if
[
-d
"
${
STACK_CONFIG_PATH
}
/licenses"
]
then
cp
-r
"
${
STACK_CONFIG_PATH
}
/licenses"
${
SPACK_SYSTEM_CONFIG_PATH
}
echo
" license_dir:
${
SPACK_SYSTEM_CONFIG_PATH
}
/licenses"
>>
${
SPACK_SYSTEM_CONFIG_PATH
}
/config_stack.yaml
fi
cat
<<
EOF
>
${
SPACK_SYSTEM_CONFIG_PATH
}
/modules_stack.yaml
cat
<<
EOF
>
${
SPACK_SYSTEM_CONFIG_PATH
}
/modules_stack.yaml
modules:
modules:
...
...
This diff is collapsed.
Click to expand it.
stacks/pinot-noir/licenses/.to_keep
0 → 100644
+
0
−
0
View file @
a01a2ac6
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