diff options
author | Danny Taller <66029857+dtaller@users.noreply.github.com> | 2021-01-14 08:54:58 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-14 08:54:58 -0800 |
commit | 74b2c85b41e15f846bd988c56389483f410419e4 (patch) | |
tree | 21b4b1b7d13a87e1bc15d0ac2e4aa336981cf34b /lib | |
parent | b423db6ddb0269c6ccc6e01622e7a47f12a70b64 (diff) | |
download | spack-74b2c85b41e15f846bd988c56389483f410419e4.tar.gz spack-74b2c85b41e15f846bd988c56389483f410419e4.tar.bz2 spack-74b2c85b41e15f846bd988c56389483f410419e4.tar.xz spack-74b2c85b41e15f846bd988c56389483f410419e4.zip |
improve documentation for Rocm (hip amd builds) (#20812)
* improve documentation
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/build_systems/rocm.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/spack/spack/build_systems/rocm.py b/lib/spack/spack/build_systems/rocm.py index d132b91c0c..21a200e159 100644 --- a/lib/spack/spack/build_systems/rocm.py +++ b/lib/spack/spack/build_systems/rocm.py @@ -30,6 +30,8 @@ # environment: {} # extra_rpaths: [] # +# It is advisable to replace /rocm/ in the paths above with /rocm-version/ +# and introduce spec version numbers to ensure reproducible results. # # 2. hip and its dependencies are currently NOT picked up by spack # automatically, and should therefore be added to packages.yaml by hand: @@ -37,7 +39,7 @@ # in packages.yaml: # hip: # externals: -# - spec: hip@3.8.20371-d1886b0b +# - spec: hip # prefix: /opt/rocm/hip # extra_attributes: # compilers: @@ -64,6 +66,9 @@ # cxx: /opt/rocm/llvm/bin/clang++ # buildable: false # +# It is advisable to replace /rocm/ in the paths above with /rocm-version/ +# and introduce spec version numbers to ensure reproducible results. +# # 3. In part 2, DO NOT list the path to hsa as /opt/rocm/hsa ! You want spack # to find hsa in /opt/rocm/include/hsa/hsa.h . The directory of # /opt/rocm/hsa also has an hsa.h file, but it won't be found because spack |