-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Uberenv with Spack Environments #882
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #882 +/- ##
========================================
Coverage 94.75% 94.75%
========================================
Files 153 153
Lines 10786 10786
========================================
Hits 10220 10220
Misses 566 566 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
src/docs/sphinx/quickstart.rst
Outdated
@@ -116,17 +116,17 @@ Serac. | |||
|
|||
.. code-block:: bash | |||
|
|||
$ python3 scripts/uberenv/uberenv.py --prefix=../serac_libs | |||
$ python3 scripts/llnl/build_tpls.py --prefix=../serac_libs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@white238 do you think we should say build_tpls.py
in quickstart as opposed to running simply uberenv.py
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(note: i changed prefix to directory in the next commit)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
build_tpls.py
is for building all the specs on the given platform. That sometimes doesn't make sense.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ill change it back then
I'm having this issue where there are empty [meemee@ruby968:devtools_configs]$ pwd
/usr/workspace/meemee/serac/repo/scripts/spack/devtools_configs
[meemee@ruby968:devtools_configs]$ ls -la
total 32
drwxrws--- 5 meemee meemee 4096 Apr 6 18:37 .
drwxrws--- 5 meemee meemee 4096 Apr 6 09:44 ..
drwxr-sr-x 3 meemee meemee 4096 Apr 6 18:37 ._view
drwxr-sr-x 2 meemee meemee 4096 Apr 5 14:53 blueos_3_ppc64le_ib_p9
-rw-rw---- 1 meemee meemee 8124 Feb 23 17:12 config.yaml
-rw-rw---- 1 meemee meemee 13 Sep 30 2022 mirrors.yaml
drwxr-sr-x 2 meemee meemee 4096 Apr 5 14:53 toss_3_x86_64_ib
lrwxrwxrwx 1 meemee meemee 97 Apr 6 18:37 view -> /usr/WS2/meemee/serac/repo/scripts/spack/devtools_configs/._view/tgu6msvos6b4jlndsmbpdeea5ttnelkf |
Co-authored-by: Chris White <white238@llnl.gov>
Co-authored-by: Chris White <white238@llnl.gov>
Co-authored-by: Chris White <white238@llnl.gov>
build_stage:: | ||
- $spack/../build_stage | ||
|
||
view: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This section needs to be duplicated in the blueos devtool config spack.yaml
Co-authored-by: Chris White <white238@llnl.gov>
… into task/chapman39/update_uberenv
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for seeing this through!
Trying this out on my local machine now... |
for reference, here's the relevant docs built from this branch: |
Works on my machine with the ubuntu 20 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work @chapman39 !
Using updated Uberenv with Spack Environments
Built TPLs and devtools now include as part of their install location:
'{compiler.name}-{compiler.version}/{name}-{version}-{hash}'
The serac devtools "
latest
" symlink will now point at theview
directory of a build. This should not affect the way you write the prefixes of devtools inspack.yaml
.Also updates Spack