Skip to content

Do not require pkg-config to generate the *.pc file#2785

Merged
martin-frbg merged 1 commit intoOpenMathLib:developfrom
albertziegenhagel:always-generate-pkg-config
Aug 19, 2020
Merged

Do not require pkg-config to generate the *.pc file#2785
martin-frbg merged 1 commit intoOpenMathLib:developfrom
albertziegenhagel:always-generate-pkg-config

Conversation

@albertziegenhagel
Copy link
Contributor

Generating the pkg-config file does not actually depend on pkg-config being available, so we can always just generate it.

This has the benefit to make the output of the build process more consistent. The pkg-config files will always be generated, no matter whether I install pkg-config before building OpenBLAS or afterwards.

Additionally it is more consistent with the *.pc files that are generated by LAPACK if it is enabled: Those files are being generated unconditionally.

Generating the pkg-config file does not actually depend on pkg-config being available.
Copy link
Contributor

@Neumann-A Neumann-A left a comment

Choose a reason for hiding this comment

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

I cannot remember if the prefix variable is defined in openblas.pc or not. If not it would be nice if you could add it to the upstream PR.
BTW: are you back due to lapack-reference being added to vcpkg? Haven't seen you around for a while. Do you have any knowledge of the progress of the flang driver on windows? I would like to test the lapack-reference with a fortran compiler outside of vcpkg.

Wrong github repo.

@martin-frbg martin-frbg added this to the 0.3.11 milestone Aug 19, 2020
@martin-frbg martin-frbg merged commit 2c72972 into OpenMathLib:develop Aug 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants