[CMake] [EXTERNAL] Fortran support for ninja

Thompson, Matt (GSFC-610.1)[SCIENCE SYSTEMS AND APPLICATIONS INC] matthew.thompson at nasa.gov
Mon Aug 12 07:59:42 EDT 2019


Menno,

I believe the issue is that Ninja doesn't yet support Fortran. Brad King's dyndep code was accepted in this pull:

https://github.com/ninja-build/ninja/pull/1521

but that has not yet been released but I believe 1.10 is supposed to have it from what I've read on other issues.

Until then, like many of us Fortran + Ninja users, I recommend going to:

https://github.com/Kitware/ninja/releases

and downloading a release there.

Hopefully soon 1.10 will solve this. (That said, 1.8.2 to 1.9.0 took 700 days, so if that holds, 1.10 will be released on December 30, 2020...so keep the Kitware link around!)

Matt
--
Matt Thompson, SSAI, Ld Scientific Programmer/Analyst
NASA GSFC,    Global Modeling and Assimilation Office
Code 610.1,  8800 Greenbelt Rd,  Greenbelt,  MD 20771
Phone: 301-614-6712                 Fax: 301-614-6246
http://science.gsfc.nasa.gov/sed/bio/matthew.thompson

From: CMake <cmake-bounces at cmake.org> on behalf of "Deij-van Rijswijk, Menno" <M.Deij at marin.nl>
Date: Wednesday, August 7, 2019 at 2:56 PM
To: "cmake at cmake.org" <cmake at cmake.org>
Subject: [EXTERNAL] [CMake] Fortran support for ninja


Hello,



Today I was trying to use the Ninja generator for CMake on a project containing Fortran and C++ source files. I got the error that ninja is not supported with CMake unless a special version of ninja is used that supports fortran.



I got the source for this version from https://github.com/Kitware/ninja<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Kitware_ninja&d=DwMGaQ&c=ApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk&r=t-_8LOcT3mR0eRjGIhNBgNcMPWsPBrZlJ8ZiJNKcEVg&m=zzpGp7wmvzdJmOKz2X8V8kL0xxZwYCNxvSTyZki7FGs&s=SkGiq-6n42VleUX1OdLAfqmXa3ol5bs9t6K9fs1RWeA&e=> , built it and put the resulting binary in the PATH.



I keep getting the error that ninja is not supported, and for some reason it insists that the ninja version is 1.7.2, while the version installed is 1.9.0.



How is this supposed to work? What am I doing wrong?



Thanks for your insight and taking time to help me out.



All the best,



Menno

dr. ir. Menno A. Deij-van Rijswijk | Researcher | Research & Development
MARIN | T +31 317 49 35 06 | M.Deij at marin.nl<mailto:M.Deij at marin.nl> | www.marin.nl<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.marin.nl&d=DwMGaQ&c=ApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk&r=t-_8LOcT3mR0eRjGIhNBgNcMPWsPBrZlJ8ZiJNKcEVg&m=zzpGp7wmvzdJmOKz2X8V8kL0xxZwYCNxvSTyZki7FGs&s=ZjtEDk3RjRy2cTNRI7RF68fjXKYRKA-Qn1XXJqfx53g&e=>

[LinkedIn]<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.linkedin.com_company_marin&d=DwMGaQ&c=ApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk&r=t-_8LOcT3mR0eRjGIhNBgNcMPWsPBrZlJ8ZiJNKcEVg&m=zzpGp7wmvzdJmOKz2X8V8kL0xxZwYCNxvSTyZki7FGs&s=NaJ93hES21fB_ihQNpz5iMbzSINW-JnmJlW4G4y60bE&e=> [YouTube] <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.youtube.com_marinmultimedia&d=DwMGaQ&c=ApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk&r=t-_8LOcT3mR0eRjGIhNBgNcMPWsPBrZlJ8ZiJNKcEVg&m=zzpGp7wmvzdJmOKz2X8V8kL0xxZwYCNxvSTyZki7FGs&s=JzmjvVO45yAey5jNJk43pQu6chDRAb0uO31H5f8pVXM&e=>  [Twitter] <https://urldefense.proofpoint.com/v2/url?u=https-3A__twitter.com_MARIN-5Fnieuws&d=DwMGaQ&c=ApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk&r=t-_8LOcT3mR0eRjGIhNBgNcMPWsPBrZlJ8ZiJNKcEVg&m=zzpGp7wmvzdJmOKz2X8V8kL0xxZwYCNxvSTyZki7FGs&s=jBExfOBwOIcwSU0NXxuTklZlGq-vpplXsRIRMmLj1TM&e=>  [Facebook] <https://urldefense.proofpoint.com/v2/url?u=https-3A__www.facebook.com_marin.wageningen&d=DwMGaQ&c=ApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk&r=t-_8LOcT3mR0eRjGIhNBgNcMPWsPBrZlJ8ZiJNKcEVg&m=zzpGp7wmvzdJmOKz2X8V8kL0xxZwYCNxvSTyZki7FGs&s=fmrLqZ6mOjyqeFODsmuH-V6yV4z-7oxocIgbcP5PnkQ&e=>
MARIN news: 25th HISWA International Symposium, November 12 & 13<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.marin.nl_web_News_News-2Ditems_25th-2DHISWA-2DInternational-2DSymposium-2DNovember-2D12-2D13.htm&d=DwMGaQ&c=ApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk&r=t-_8LOcT3mR0eRjGIhNBgNcMPWsPBrZlJ8ZiJNKcEVg&m=zzpGp7wmvzdJmOKz2X8V8kL0xxZwYCNxvSTyZki7FGs&s=JV9-X6YvPsCf5C7MDQm_8GAH5R05UTomcDrxDz1ublE&e=>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20190812/00b69aee/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 294 bytes
Desc: image001.png
URL: <https://cmake.org/pipermail/cmake/attachments/20190812/00b69aee/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 332 bytes
Desc: image002.png
URL: <https://cmake.org/pipermail/cmake/attachments/20190812/00b69aee/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 334 bytes
Desc: image003.png
URL: <https://cmake.org/pipermail/cmake/attachments/20190812/00b69aee/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 254 bytes
Desc: image004.png
URL: <https://cmake.org/pipermail/cmake/attachments/20190812/00b69aee/attachment-0007.png>


More information about the CMake mailing list