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

Bug: t8code 3.0.0. defines p4est version as 0.0.0. #1294

Open
jmark opened this issue Nov 4, 2024 · 3 comments
Open

Bug: t8code 3.0.0. defines p4est version as 0.0.0. #1294

jmark opened this issue Nov 4, 2024 · 3 comments
Assignees
Labels
Bug For a bug in the Code CMake Is about the CMake build system priority: low Should be solved eventually workload: medium Would take a week or less

Comments

@jmark
Copy link
Collaborator

jmark commented Nov 4, 2024

Bug report

Describe the bug

t8code 3.0.0. tarball defines p4est version as 0.0.0. The result in p4est_config.h reads

[...]

/* Define to the full name and version of this package. */
#define P4EST_PACKAGE_STRING "p4est 0.0.0"

/* Define to the one symbol short name of this package. */
#define P4EST_PACKAGE_TARNAME "p4est"

/* Define to the home page for this package. */
#define P4EST_PACKAGE_URL ""

/* Define to the version of this package. */
#define P4EST_PACKAGE_VERSION "0.0.0"

/* Version number of package */
#define P4EST_VERSION "0.0.0"

/* Package major version */
#define P4EST_VERSION_MAJOR 0

/* Package minor version */
#define P4EST_VERSION_MINOR 0

/* Package point version */
#define P4EST_VERSION_POINT 0

To Reproduce

Create a tarball source code distribution of t8code via CMake.

Expected behavior

The actual used p4est version is 2.8.6.

@jmark jmark added Bug For a bug in the Code priority: low Should be solved eventually workload: medium Would take a week or less CMake Is about the CMake build system labels Nov 4, 2024
@jmark jmark changed the title t8code 3.0.0. defines p4est version as 0.0.0. Bug: t8code 3.0.0. defines p4est version as 0.0.0. Nov 6, 2024
@tim-griesbach
Copy link

I created the PR cburstedde/p4est#323 that should ensure that the version numbers inp4est_config.h are set correctly.

@jmark
Copy link
Collaborator Author

jmark commented Nov 7, 2024

I created the PR cburstedde/p4est#323 that should ensure that the version numbers inp4est_config.h are set correctly.

@tim-griesbach Thank you very much for your fix!

@jmark
Copy link
Collaborator Author

jmark commented Nov 18, 2024

Unfortunately, the fix in cburstedde/p4est#323 is only half the solution.

Now what is needed, is a version retrieval when p4est is compiled from a tarball distribution.

See cburstedde/p4est#325.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For a bug in the Code CMake Is about the CMake build system priority: low Should be solved eventually workload: medium Would take a week or less
Projects
Status: Todo
Development

Successfully merging a pull request may close this issue.

2 participants