Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continued support for RHEL v7 #10343

Open
casella opened this issue Mar 8, 2023 · 8 comments
Open

Continued support for RHEL v7 #10343

casella opened this issue Mar 8, 2023 · 8 comments
Assignees
Milestone

Comments

@casella
Copy link
Contributor

casella commented Mar 8, 2023

Some OSMC members need RHEL v7 support for critical applications. We need to reinstate that ASAP, preferably before we release 1.21.0.

@casella casella added this to the 1.21.0 milestone Mar 8, 2023
@sjoelund
Copy link
Member

sjoelund commented Mar 8, 2023

The weirdest parts are the devtoolset packages, which sometimes have been removed upstream and older OM releases then not being possible to install. I suppose I can simply update it to devtoolset-11 and it should be good until RHEL7 support is gone upstream.

The cmake and gcc versions are probably OK according to @mahge

But it is worth noting that a lot more things can break for RHEL since they sometimes update packages in the middle of a cycle (and requiring devtoolset things to be installed). Debian/Ubuntu releases are not supported for as long, but installation has tended to always work even on older packages compiled for the same OS release.

@sjoelund
Copy link
Member

sjoelund commented Mar 8, 2023

Oh yeah, and we haven't removed any support yet.

@mahge
Copy link
Contributor

mahge commented Mar 8, 2023

The cmake and gcc versions are probably OK according to @mahge

Yes. We are all good. We can officially update our minimum requirements for building OpenModelica from source (at least for CMake) without leaving anything supported by OpenModelica behind.

The issue right now is that we are using tools with versions much lower than what we have here to check things. For example, the PR build check still uses gcc-5 and CMake-3.5 (IIRC), even though the minimum versions we need to support are gcc-8.3.1 and CMake-3.16.3 respectively. This, right now, can sometimes make it impossible to get anything that is not supported by those versions into OpenModelica source code because it will fail on the PR.

We should, of course, wait until after the upcoming release to actually upgrade the images we use for checking PRs (and building nightlies and releases).

@casella
Copy link
Contributor Author

casella commented Mar 8, 2023

Oh yeah, and we haven't removed any support yet.

OK, I understood that the el7 job was removed from LINUX_BUILD, but I was mistaken, sorry. So, we are still getting a build for el7 and we'll do do until 1.21.0 is released.

We should, of course, wait until after the upcoming release to actually upgrade the images we use for checking PRs (and building nightlies and releases).

But then, what happens to the el7 build?

@mahge
Copy link
Contributor

mahge commented Mar 8, 2023

OK, I understood that the el7 job was removed from LINUX_BUILD, but I was mistaken, sorry. So, we are still getting a build for el7 and we'll do do until 1.21.0 is released.

For my needs at least, there is no issue with RHEL v7. It already provides better versions of the tools than we currently require as minimum so we can definitely keep it around. We do not have to do anything about RHEL v7. What we need to do is update the docker images we use for testing PRs (I think some of them are based on Ubuntu Xenial (16.04) or Bionic (18.04). However, even that by itself is not a problem as long as we upgrade the tools themselves.) These images are the ones that are using old versions of the tools we need. Since they are the ones that we use for testing PRs, any change we make, that does not build on those images and their versions of the tools, can never make it into the OpenModelica repository.

Once we make the release, we can go ahead and start updating these default PR-checking images so we can start upgrading things. RHEL v7 can continue to be supported until EOL.

@sjoelund
Copy link
Member

sjoelund commented Mar 8, 2023

The main problem I have with el7 is that it is the last rpm OS still using yum instead of dnf. (It used to have a version of dnf but it was removed for being insecure instead of bugfixed...)

@sjoelund
Copy link
Member

sjoelund commented Mar 8, 2023

What we need to do is update the docker images we use for testing PRs (I think some of them are based on Ubuntu Xenial (16.04) or Bionic (18.04)

Yes, we should update them every 2 years. Bionic is end of life in a month and I marked it obsolete early (because why build the next OM release for it when the repositories will be gone very soon).

Hopefully #10353 works... I don't really have time to work on it.

@mahge
Copy link
Contributor

mahge commented Mar 9, 2023

Hopefully #10353 works... I don't really have time to work on it.

Thank you. No worries I can finish it up.

@casella casella modified the milestones: 1.21.0, 1.22.0 Apr 18, 2023
@casella casella modified the milestones: 1.22.0, 1.23.0 Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants