Skip to content

Commit

Permalink
Fix build for centOS
Browse files Browse the repository at this point in the history
  • Loading branch information
flomnes committed Dec 1, 2022
1 parent ba4a8b3 commit 7a3b5ae
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/centos7-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,15 @@ jobs:
run: |
git submodule update --init --recursive src
- name: Get antares-deps
run: |
ANTARES_DEPS_VERSION=$(cut -d'"' -f4 antares-deps-version.json | grep -Ev '\{|\}')
cd /
wget https://github.com/AntaresSimulatorTeam/antares-deps/releases/download/v${ANTARES_DEPS_VERSION}/rte-antares-deps-centos7-Release-solver.tar.gz
tar -xvf rte-antares-deps-centos7-Release-solver.tar.gz
rm -rf rte-antares-deps-centos7-Release-solver.tar.gz
- name: Configure
run: |
source /opt/rh/devtoolset-9/enable
Expand Down
2 changes: 1 addition & 1 deletion docker/centos7-basic-requirements
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN yum update -y
RUN yum install -y epel-release

# Install requirements
RUN yum install -y git redhat-lsb-core make centos-release-scl scl-utils rpm-build &&\
RUN yum install -y git redhat-lsb-core make wget centos-release-scl scl-utils rpm-build &&\
yum install -y cmake3 devtoolset-9 &&\
yum install -y rh-git227-git

Expand Down

0 comments on commit 7a3b5ae

Please sign in to comment.