Skip to content

mariadb: fix musl, make Numa optional; pmdk: remove#214981

Merged
ajs124 merged 2 commits intoNixOS:stagingfrom
superherointj:fix-musl-mariadb
Feb 8, 2023
Merged

mariadb: fix musl, make Numa optional; pmdk: remove#214981
ajs124 merged 2 commits intoNixOS:stagingfrom
superherointj:fix-musl-mariadb

Conversation

@superherointj
Copy link
Contributor

@superherointj superherointj commented Feb 6, 2023

MariaDB:

  • fix musl
  • remove pmdk support
  • make Numa optional
    It's only used by large servers. Most users don't have hardware that require Numa. Whoever needs it can use from the flag. Should it be documented? Where (specifically)?

pmdk: remove

References:

Cherry-pick is merged to Haskell:

@github-actions github-actions bot added the 6.topic: haskell General-purpose, statically typed, purely functional programming language label Feb 6, 2023
@superherointj superherointj removed the 6.topic: haskell General-purpose, statically typed, purely functional programming language label Feb 6, 2023
@superherointj superherointj requested review from SuperSandro2000 and removed request for cdepillabout, maralorn and sternenseemann February 6, 2023 18:50
@github-actions github-actions bot added the 6.topic: haskell General-purpose, statically typed, purely functional programming language label Feb 6, 2023
@ofborg ofborg bot added the 8.has: clean-up This PR removes packages or removes other cruft label Feb 6, 2023
@ofborg ofborg bot requested review from ajs124, dasJ and thoughtpolice February 6, 2023 19:34
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. labels Feb 6, 2023
@ajs124
Copy link
Member

ajs124 commented Feb 7, 2023

  • Should it be documented? Where (specifically)?

You could probably put it into the release notes? Idk if it's really worth mentioning though.

@github-actions github-actions bot removed the 6.topic: haskell General-purpose, statically typed, purely functional programming language label Feb 7, 2023
@ajs124
Copy link
Member

ajs124 commented Feb 7, 2023

Do we have something like "notability guidelines" for the release notes? Something like "MariaDB is built without NUMA support by default now" is IMO enough, because people that would be affected by it understand it, but then again, I don't think "bloated" release notes that nobody reads through are useful, either.

Also, the people that this matters to, if they even exist, probably have monitoring and metrics in place that would alert them, if this actually negatively impacted performance for them.

@superherointj
Copy link
Contributor Author

@ajs124 Can I merge this as it is?

@ajs124
Copy link
Member

ajs124 commented Feb 8, 2023

Yeah, should be fine. I ran nixpkgs review and a bunch of things (e.g. amarok) failed to build, but they all seem unrelated.

Edit: and ofborg is unhappy, because of some python thing the testrunner depends on. great.

@ajs124 ajs124 merged commit 555c21b into NixOS:staging Feb 8, 2023
@superherointj
Copy link
Contributor Author

superherointj commented Feb 8, 2023

@ajs124 @wegank Thanks!

@superherointj superherointj deleted the fix-musl-mariadb branch February 8, 2023 14:04
propagatedBuildInputs = lib.optionals withEmbedded
(lib.optional (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isx86_64) pmdk.lib
++ lib.optional (stdenv.hostPlatform.isLinux && !stdenv.hostPlatform.isAarch32) numactl);
(lib.optional withNuma numactl);
Copy link
Member

Choose a reason for hiding this comment

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

The conditions could have been combined here IIUTC

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, and I actually think this can be removed because it is deprecated:
https://dev.mysql.com/doc/refman/5.7/en/source-configuration-options.html#option_cmake_with_embedded_server

NUMA still makes sense though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: clean-up This PR removes packages or removes other cruft 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Comments