This repository has been archived by the owner on Oct 8, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Support Rocky Linux 8 This commit adds pkgdep_rocky8.sh for installing dependencies in Rocky Linux, and fixes compile issues (which is mostly from using different version of gcc) We tried not to break on Ubuntu environments and we tested on our machine. Signed-off-by: Hyunseung Park <hspark0582@gluesys.com> * Use ifndef instead of removing a #define Signed-off-by: Hyunseung Park <hspark0582@gluesys.com> * Combine pkgdep scripts into one file Installing dependencies were originally done in a new separate file, pkgdep_rocky8.sh. As recommended in a review comment, we have combined the two into pkgdep.sh. We have tested new pkgdep.sh against Ubuntu 18.04, Rocky Linux 8.6, and also CentOS Stream 8. There were some changes to make the script also work on CentOS. We have thought of making it also run on RHEL itself, but since it does not provide some packages we can use on Rocky/CentOS, we need to manually build them (too) or use CentOS repositories. We will consider implementing it if you desire. Finally, some refactoring using PKGS variable. Now it looks (hopefully/arguably) less ugly while still not calling dnf every time. * Use os-release rather than centos-release Just copied spdk os check :) * Install go after installing necessary packages Error occurred while installing go in rocky/CentOS since minimal install of them does not have wget and tar. I messed up the order during combining scripts. Sorry! * Only apply PKG_CONFIG_PATH on centos and rocky 8 Signed-off-by: Hyunseung Park <hspark0582@gluesys.com>
- Loading branch information
1 parent
a8791ea
commit 98f9e01
Showing
7 changed files
with
155 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters