File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
cookbooks/aws-parallelcluster-environment/resources/spack Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright:: 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License").
6
+ # You may not use this file except in compliance with the License.
7
+ # A copy of the License is located at
8
+ #
9
+ # http://aws.amazon.com/apache2.0/
10
+ #
11
+ # or in the "LICENSE.txt" file accompanying this file.
12
+ # This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied.
13
+ # See the License for the specific language governing permissions and limitations under the License.
14
+
15
+ provides :spack , platform : 'rocky' do |node |
16
+ node [ 'platform_version' ] . to_i == 8
17
+ end
18
+
19
+ use 'partial/_spack_common.rb'
20
+
21
+ def dependencies
22
+ %w( autoconf automake bison byacc cscope ctags diffstat doxygen elfutils flex gcc gcc-c++ gcc-gfortran git
23
+ indent intltool libtool patch patchutils rcs rpm-build rpm-sign subversion swig system-rpm-config systemtap
24
+ curl findutils hostname iproute redhat-lsb-core python3 python3-setuptools unzip python3-boto3 )
25
+ end
26
+
27
+ def libfabric_path
28
+ '/opt/amazon/efa/lib64/pkgconfig/libfabric.pc'
29
+ end
30
+
31
+ action :setup do
32
+ action_install_spack
33
+ end
You can’t perform that action at this time.
0 commit comments