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

Netgen: init at 6.2.2405 #355445

Closed
wants to merge 1 commit into from
Closed

Netgen: init at 6.2.2405 #355445

wants to merge 1 commit into from

Conversation

qbisi
Copy link
Contributor

@qbisi qbisi commented Nov 12, 2024

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions bot added 6.topic: python 6.topic: lib The Nixpkgs function library labels Nov 12, 2024
@nix-owners nix-owners bot requested review from alyssais and natsukium November 12, 2024 14:34
@qbisi qbisi mentioned this pull request Nov 12, 2024
13 tasks
@qbisi qbisi force-pushed the netgen branch 2 times, most recently from 23773ac to 96dfa27 Compare November 12, 2024 17:38
@ofborg ofborg bot added the 8.has: package (new) This PR adds a new package label Nov 13, 2024
@ofborg ofborg bot requested a review from nim65s November 13, 2024 05:31
@ofborg ofborg bot added 11.by: package-maintainer This PR was created by the maintainer of the package it changes 10.rebuild-darwin: 11-100 10.rebuild-linux: 11-100 labels Nov 13, 2024
@qbisi qbisi marked this pull request as draft November 13, 2024 18:05
@github-actions github-actions bot removed the 6.topic: lib The Nixpkgs function library label Nov 14, 2024
@qbisi qbisi marked this pull request as ready for review November 14, 2024 15:38
@qbisi qbisi marked this pull request as draft November 14, 2024 15:54
@qbisi qbisi force-pushed the netgen branch 2 times, most recently from c0360b9 to c3f404c Compare November 14, 2024 18:15
@qbisi qbisi marked this pull request as ready for review November 14, 2024 18:17
@nix-owners nix-owners bot requested a review from natsukium November 14, 2024 18:18
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 and removed 10.rebuild-darwin: 11-100 labels Nov 15, 2024
--- a/cmake/generate_version_file.cmake
+++ b/cmake/generate_version_file.cmake
@@ -5,7 +5,7 @@ endif()
if(NETGEN_VERSION_GIT)
Copy link
Member

Choose a reason for hiding this comment

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

Can't we simply set NETGEN_VERSION_GIT in cmake flags?

Comment on lines +103 to +104
# create dummy catch2 target and use system catch2
echo "add_custom_target(project_catch)" > cmake/external_projects/catch.cmake
Copy link
Member

Choose a reason for hiding this comment

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

We should also make this a patch.

Comment on lines +143 to +144
(lib.cmakeBool "BUILD_TESTING" finalAttrs.finalPackage.doInstallCheck)
(lib.cmakeBool "ENABLE_UNIT_TESTS" finalAttrs.finalPackage.doInstallCheck)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
(lib.cmakeBool "BUILD_TESTING" finalAttrs.finalPackage.doInstallCheck)
(lib.cmakeBool "ENABLE_UNIT_TESTS" finalAttrs.finalPackage.doInstallCheck)
(lib.cmakeBool "BUILD_TESTING" finalAttrs.finalPackage.doCheck)
(lib.cmakeBool "ENABLE_UNIT_TESTS" finalAttrs.finalPackage.doCheck)

Unit tests are not installCheck?

@qbisi qbisi closed this Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: python 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 11.by: package-maintainer This PR was created by the maintainer of the package it changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants