Skip to content

Commit 9a552d3

Browse files
authored
packer-rocm/amdgpu_install/vars: package changes (#61)
* packer-rocm/amdgpu_install/vars: cover more package requirements
1 parent 1493fab commit 9a552d3

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

packer-rocm/playbooks/build.yml

+4
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
packer_prereqs:
2121
common:
2222
- qemu-kvm # provides builder as a Virtual Machine; meta-package
23+
- ansible # configures the builder VM with 'amdgpu', 'ROCm', and more
2324
- git # 'ansible-pull' requires 'git' to clone; should be installed already
2425
- rsync # synchronize module
2526
- xorriso # cloud-init data
@@ -30,6 +31,9 @@
3031
- edk2-ovmf # firmware
3132
- e2fsprogs # provides 'fuse2fs', tarball/image work
3233
- nbdkit-nbd-plugin
34+
# following two collections are provided by 'ansible' on Ubuntu; not so on EL/derivatives
35+
- ansible-collection-community-general
36+
- ansible-collection-ansible-posix
3337
Debian:
3438
- ovmf
3539
- libnbd-bin

packer-rocm/playbooks/roles/amdgpu_install/vars/main.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ amdgpu_install_pkg_patts: # indexed by 'ansible_distribution' fact
1010
# Packages to install after 'amdgpu-install' but before the usecases
1111
amdgpu_install_pre:
1212
common:
13-
- autoconf
13+
- cmake
1414
- curl
1515
- dkms
1616
- ethtool
@@ -25,9 +25,17 @@ amdgpu_install_pre:
2525
- wget
2626
- zip
2727
Debian:
28+
- autoconf
29+
- automake
30+
- libstdc++-12-dev
2831
- "linux-headers-{{ ansible_kernel }}"
2932
- "linux-modules-extra-{{ ansible_kernel }}"
33+
- libyaml-cpp-dev # used by 'rvs'
34+
- pkg-config
3035
RedHat:
36+
- '@Development Tools' # quoting required for group notation
3137
- kernel-headers
3238
- kernel-devel-matched
3339
- kernel-modules-extra
40+
- libstdc++-devel
41+
- yaml-cpp # requires EPEL

0 commit comments

Comments
 (0)