[petsc-users] Building with CMAKE_GENERATOR set
Deij-van Rijswijk, Menno
M.Deij at marin.nl
Thu Mar 10 08:29:17 CST 2022
Yes, I think that would work.
All the best,
Menno
dr. ir. Menno A. Deij-van Rijswijk | Researcher | Research & Development | Vrijdag vrij.
In het algemeen op maandag en woensdag vanuit huis werkend, en op dinsdag en donderdag op kantoor. Actuele beschikbaarheid staat in mijn agenda.
MARIN | T +31 317 49 35 06 | M.Deij at marin.nl<mailto:M.Deij at marin.nl> | www.marin.nl<http://www.marin.nl>
[LinkedIn]<https://www.linkedin.com/company/marin> [YouTube] <http://www.youtube.com/marinmultimedia> [Twitter] <https://twitter.com/MARIN_nieuws> [Facebook] <https://www.facebook.com/marin.wageningen>
MARIN news:
From: Barry Smith <bsmith at petsc.dev>
Sent: Thursday, March 10, 2022 3:25 PM
To: Deij-van Rijswijk, Menno <M.Deij at marin.nl>
Cc: petsc-users at mcs.anl.gov
Subject: Re: [petsc-users] Building with CMAKE_GENERATOR set
Would it be enough that PETSc's ./configure build of external packages that use cmake temporarily turns off the value of CMAKE_GENERATOR when it runs cmake for the external packages?
Barry
On Mar 10, 2022, at 6:50 AM, Deij-van Rijswijk, Menno <M.Deij at marin.nl<mailto:M.Deij at marin.nl>> wrote:
Good morning,
I find that when I set the environment variable CMAKE_GENERATOR to something that is not "Unix Makefiles" (e.g. Ninja) that building of subprojects like METIS fails. METIS gets configured with CMake, and writes out ninja.build build instructions. Then PETSc calls make/gmake to build and it can't find the makefiles because they're not generated. It would be nice if PETSc could handle other build tools supported by CMake, like for example Ninja.
Best regards,
Menno Deij - van Rijswijk
dr. ir. Menno A. Deij-van Rijswijk | Researcher | Research & Development | Vrijdag vrij.
In het algemeen op maandag en woensdag vanuit huis werkend, en op dinsdag en donderdag op kantoor. Actuele beschikbaarheid staat in mijn agenda.
MARIN | T +31 317 49 35 06 | M.Deij at marin.nl<mailto:M.Deij at marin.nl> | www.marin.nl<http://www.marin.nl/>
<image1150b9.PNG><https://www.linkedin.com/company/marin> <image5b3f56.PNG><http://www.youtube.com/marinmultimedia> <image401cc0.PNG><https://twitter.com/MARIN_nieuws> <image87ad97.PNG><https://www.facebook.com/marin.wageningen>
MARIN news:
Help us improve the spam filter. If this message contains SPAM, click here<https://www.mailcontrol.com/sr/o5c7UvMrbnXGX2PQPOmvUr11KAWLA5a3ktYgc6JbAdv0ydXaABFXFMIFxi3fyJhOyXCp1Q_VWH-hqfUB1i-uFQ==> to report. Thank you, MARIN Digital Services
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20220310/cd707442/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image58ada6.PNG
Type: image/png
Size: 293 bytes
Desc: image58ada6.PNG
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20220310/cd707442/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image8693ea.PNG
Type: image/png
Size: 331 bytes
Desc: image8693ea.PNG
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20220310/cd707442/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image11d6c4.PNG
Type: image/png
Size: 333 bytes
Desc: image11d6c4.PNG
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20220310/cd707442/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imagef67c7d.PNG
Type: image/png
Size: 253 bytes
Desc: imagef67c7d.PNG
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20220310/cd707442/attachment-0007.png>
More information about the petsc-users
mailing list