Skip to content
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

packer-rocm/amdgpu_install/vars: package changes #61

Merged
merged 4 commits into from
Nov 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packer-rocm/playbooks/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
packer_prereqs:
common:
- qemu-kvm # provides builder as a Virtual Machine; meta-package
- ansible # configures the builder VM with 'amdgpu', 'ROCm', and more
- git # 'ansible-pull' requires 'git' to clone; should be installed already
- rsync # synchronize module
- xorriso # cloud-init data
Expand All @@ -30,6 +31,9 @@
- edk2-ovmf # firmware
- e2fsprogs # provides 'fuse2fs', tarball/image work
- nbdkit-nbd-plugin
# following two collections are provided by 'ansible' on Ubuntu; not so on EL/derivatives
- ansible-collection-community-general
- ansible-collection-ansible-posix
Debian:
- ovmf
- libnbd-bin
Expand Down
10 changes: 9 additions & 1 deletion packer-rocm/playbooks/roles/amdgpu_install/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ amdgpu_install_pkg_patts: # indexed by 'ansible_distribution' fact
# Packages to install after 'amdgpu-install' but before the usecases
amdgpu_install_pre:
common:
- autoconf
- cmake
- curl
- dkms
- ethtool
Expand All @@ -25,9 +25,17 @@ amdgpu_install_pre:
- wget
- zip
Debian:
- autoconf
- automake
- libstdc++-12-dev
- "linux-headers-{{ ansible_kernel }}"
- "linux-modules-extra-{{ ansible_kernel }}"
- libyaml-cpp-dev # used by 'rvs'
- pkg-config
RedHat:
- '@Development Tools' # quoting required for group notation
- kernel-headers
- kernel-devel-matched
- kernel-modules-extra
- libstdc++-devel
- yaml-cpp # requires EPEL