-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Add script support for CentOS 8 move to PR 9475 #9361
Conversation
scripts/eosio_build_centos.sh
Outdated
if [[ "$(echo ${VERSION} | sed 's/ .*//g')" == 8 ]]; then | ||
echo "Install Development Tools ..." | ||
dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm | ||
dnf group install -y "Development Tools" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as is, these will require the script to run as root
will not work on develop once #9198 is merged because it is lacking installation of llvm |
Based on my experience of build eos on Centos, after dnf group install -y "Development Tools", llvm will still be installed by ensure-llvm() |
Even for an unpinned build? |
My centos8 container was populated with a "minimal" install and interestingly failed to build because the lack of openssl dev being installed. Maybe we should add that as a installed package |
Sure we can install openssl-dev for centos 8 |
should not, because unpinned build don't need it I think. |
And use this new function relpace dnf command
If you merge develop in to this branch I think you'll find you need it |
|
Add script support for CentOS 8 (redo of #9361)
Change Description
Start 9361 description ......
move to PR 9475 #9475
In script eos/scripts/eosio_build.sh, line 122, set -i pop error on centos7 and conetos8, so, add OS judge and not use set -i on CentOS, tested can be built without "set -i";
In script eos/scripts/eosio_build_centos.sh, it regard centos version as 7 without judge, and install package which only can be used on centos 7. I add judge and install package which can be used on centos8. centos 7 will still install the original packages.
End 9361 description...
Change Type
Select ONE
Consensus Changes
API Changes
Documentation Additions