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

Remove mesa18 and libosmesa #44264

Merged
merged 5 commits into from
May 21, 2024

Conversation

alalazo
Copy link
Member

@alalazo alalazo commented May 19, 2024

refers to #44184

mesa18 was introduced in #19528 as a way to maintain the old autotools build of mesa separate from the new meson build.

We could add a second build system to mesa, but since mesa18 has been deprecated for a long time, we'll just remove it.

libosmesa was used to multiplex the gl provider between mesa18 and mesa, and is thus unnecessary. Remove it to reduce complexity in the graphical stack.

Copy link

spackbot-app bot commented May 19, 2024

Hi @alalazo! I noticed that the following package(s) don't yet have maintainers:

  • osmesa

Are you interested in adopting any of these package(s)? If so, simply add the following to the package class:

    maintainers("alalazo")

If not, could you contact the developers of this package and see if they are interested? You can quickly see who has worked on a package with spack blame:

$ spack blame osmesa

Thank you for your help! Please don't add maintainers without their consent.

You don't have to be a Spack expert or package developer in order to be a "maintainer," it just gives us a list of users willing to review PRs or debug issues relating to this package. A package can have multiple maintainers; just add a list of GitHub handles of anyone who wants to volunteer.

@spackbot-app spackbot-app bot requested a review from v-dobrev May 19, 2024 06:47
@alalazo
Copy link
Member Author

alalazo commented May 19, 2024

@kwryankrattiger I plan to simplify further the stack, since I think multiplexing using virtuals, when a package provides two implementation of the same virtual, is unnecessary - and just adds complexity. I'll ping you also in subsequent PRs. Let me know if I should add other reviewers too.

@spackbot-app spackbot-app bot added gitlab Issues related to gitlab integration conflicts labels May 19, 2024
@kwryankrattiger
Copy link
Contributor

Just quickly paged through this. I want to do a little more testing but this looks good so far.

@alalazo
Copy link
Member Author

alalazo commented May 20, 2024

@kwryankrattiger Unfortunately this fails in packages using the virtuals, so I guess I need to fix them in this PR too. I'll try to keep the commits well separated to ease review.

mesa18 was introduced in spack#19528 as a way to maintain the old
autotools build of mesa separate from the new meson build.

We could add a second build system to mesa, but since mesa18 has
been deprecated for a long time, we'll just remove it.

libosmesa was used to multiplex the gl provider between mesa18
and mesa, and is thus unecessary. Remove it to reduce complexity
in the graphical stack.
@alalazo
Copy link
Member Author

alalazo commented May 20, 2024

@kwryankrattiger If gitlab passes, I think this one is ready to go.

@kwryankrattiger
Copy link
Contributor

The paraview/bfkhwvguli7a5bttlx62ozqxwhx7cfxc is not correct still with this patch. We are still getting a paraview+osmesa ^glx which I would like to fix with this patch if possible.

@alalazo
Copy link
Member Author

alalazo commented May 21, 2024

Can we get this one merged, and fix paraview in a following PR? I'd like to have smaller scoped PRs, rather than changes all over the places. This one seems nicely scoped:

  • Remove an unneeded virtual
  • Remove mesa18

@alalazo
Copy link
Member Author

alalazo commented May 21, 2024

To be clear, I'm already working on fixing the packages with the osmesa variant, but would like to keep this change as a standalone.

@kwryankrattiger
Copy link
Contributor

Can we get this one merged, and fix paraview in a following PR?

I only ask to fix it here because we do for visit and currently the binaries we produce in CI for the paraview+osmesa package are borked. But we can do it in a follow up too if the fix is more extensive the the visit fix.

To be clear, I'm already working on fixing the packages with the osmesa variant, but would like to keep this change as a standalone.

I agree that fixing any other OSMesa packages not in CI can be pushed to another PR.

Copy link
Contributor

@kwryankrattiger kwryankrattiger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like a good start, thanks!

@kwryankrattiger kwryankrattiger merged commit 9c88a48 into spack:develop May 21, 2024
34 of 35 checks passed
@alalazo alalazo deleted the packages/remove-mesa-18 branch May 21, 2024 15:25
@alalazo alalazo mentioned this pull request May 22, 2024
28 tasks
alalazo added a commit that referenced this pull request Jun 5, 2024
* Remove mesa18 and libosmesa

mesa18 was introduced in #19528 as a way to maintain the old
autotools build of mesa separate from the new meson build.

We could add a second build system to mesa, but since mesa18 has
been deprecated for a long time, we'll just remove it.

libosmesa was used to multiplex the gl provider between mesa18
and mesa, and is thus unecessary. Remove it to reduce complexity
in the graphical stack.

* Remove references to mesa18 and libosmesa

* vtk: rework dependency on gl and osmesa

* memsurfer: rework dependency on vtk

* visit: minimal fix to avoid having both osmesa and glx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conflicts core PR affects Spack core functionality defaults dependencies gitlab Issues related to gitlab integration libraries update-package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants