From ade71d4323187f42c274bfd3a67b0670061987cb Mon Sep 17 00:00:00 2001 From: Chayim Date: Sun, 21 Nov 2021 13:22:38 +0200 Subject: [PATCH] centos8 quick add to rgsync (#91) --- .circleci/config.yml | 2 +- build/reqpacks/system-setup.py | 11 +++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5942566..655a57d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -119,7 +119,7 @@ workflows: - platform-build: matrix: parameters: - platform: [bionic, xenial, centos7] + platform: [bionic, xenial, centos7, centos8] context: common <<: *on-any-branch - deploy-artifacts: diff --git a/build/reqpacks/system-setup.py b/build/reqpacks/system-setup.py index 955c292..8f348c2 100755 --- a/build/reqpacks/system-setup.py +++ b/build/reqpacks/system-setup.py @@ -25,18 +25,21 @@ def common_first(self): self.run("%s/bin/enable-utf8" % READIES) def debian_compat(self): - self.run("%s/bin/getgcc" % READIES) + self.run("%s/bin/getgcc" % READIES) self.install("libsqlite3-dev") self.install("unixodbc-dev") def redhat_compat(self): - self.run("%s/bin/getgcc" % READIES) + self.run("%s/bin/getgcc" % READIES) self.install("redhat-lsb-core") - self.install("libsqlite3x-devel") + if self.os_version[0] >= 8 and self.dist == 'centos': + self.install("sqlite-devel") + else: + self.install("libsqlite3x-devel") self.install("unixODBC-devel") def fedora(self): - self.run("%s/bin/getgcc" % READIES) + self.run("%s/bin/getgcc" % READIES) def macos(self): self.install_gnu_utils()