Skip to content

Use cmake3 on CentOS7.#1080

Merged
lochel merged 3 commits intoOpenModelica:masterfrom
mahge:fix_centos7_build
Aug 23, 2021
Merged

Use cmake3 on CentOS7.#1080
lochel merged 3 commits intoOpenModelica:masterfrom
mahge:fix_centos7_build

Conversation

@mahge
Copy link
Copy Markdown
Contributor

@mahge mahge commented Aug 20, 2021

Related Issues

None

Purpose

Change CI builds on CentOS7 to use cmake3 (CMake versions > 3)

Approach

We now have cmake3 installed on OpenModelica's CentOS7 docker images. However, OMSimulator does not actually use those and uses the clean base centos:7 image. So just install cmake3 on that one as well.

Commits

@mahge
Use cmake3 on CentOS7.
71710a0

  • We now have cmake3 installed on our CentOS images. Use that when
    building OMSimulator.

@mahge
OMSimulator uses its own clean CentOS7 image.
2b53541

  • So we can just install cmake3 on it.

  • If this was not done intentionally, it should probably use the one
    used by OpenModelica CI as well, i.e,
    docker.openmodelica.org/build-deps:el7.amd64

@mahge
Add epel repo for cmake3 package.
b18cd34

mahge added 2 commits August 20, 2021 12:05
  - We now have cmake3 installed on our CentOS images. Use that when
    building OMSimulator.
  - So we can just install cmake3 on it.

  - If this was not done intentionally, it should probably use the one
    used by OpenModelica CI as well, i.e,
       `docker.openmodelica.org/build-deps:el7.amd64`
@mahge mahge force-pushed the fix_centos7_build branch from 8151dfb to 2b53541 Compare August 20, 2021 10:14
@mahge mahge self-assigned this Aug 20, 2021
@mahge mahge requested a review from lochel August 20, 2021 10:27
@lochel lochel merged commit 3f7a136 into OpenModelica:master Aug 23, 2021
@mahge mahge deleted the fix_centos7_build branch August 23, 2021 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants