Skip to content

Commit

Permalink
Fix hdf5 for Rocky/RHEL 8
Browse files Browse the repository at this point in the history
  • Loading branch information
glin committed Jan 16, 2025
1 parent 665bc93 commit efa85ce
Showing 1 changed file with 20 additions and 7 deletions.
27 changes: 20 additions & 7 deletions rules/hdf5.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@
{
"packages": ["hdf5-devel"],
"pre_install": [
{
"command": "dnf install -y epel-release"
}
{ "command": "dnf install -y dnf-plugins-core" },
{ "command": "dnf config-manager --set-enabled powertools" },
{ "command": "dnf install -y epel-release" }
],
"constraints": [
{
Expand All @@ -53,7 +53,21 @@
},
{
"os": "linux",
"distribution": "rockylinux"
"distribution": "rockylinux",
"versions": ["8"]
}
]
},
{
"pre_install": [
{ "command": "dnf install -y epel-release" }
],
"packages": ["hdf5-devel"],
"constraints": [
{
"os": "linux",
"distribution": "rockylinux",
"versions": ["9"]
}
]
},
Expand Down Expand Up @@ -90,9 +104,8 @@
{
"packages": ["hdf5-devel"],
"pre_install": [
{
"command": "dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm"
}
{ "command": "subscription-manager repos --enable codeready-builder-for-rhel-8-$(arch)-rpms" },
{ "command": "dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" }
],
"constraints": [
{
Expand Down

0 comments on commit efa85ce

Please sign in to comment.