{"action":"created","issue":{"url":"https://api.github.com/repos/trilinos/Trilinos/issues/261","repository_url":"https://api.github.com/repos/trilinos/Trilinos","labels_url":"https://api.github.com/repos/trilinos/Trilinos/issues/261/labels{/name}","comments_url":"https://api.github.com/repos/trilinos/Trilinos/issues/261/comments","events_url":"https://api.github.com/repos/trilinos/Trilinos/issues/261/events","html_url":"https://github.com/trilinos/Trilinos/issues/261","id":145264615,"number":261,"title":"using the custom ninja build rebuilds fortran files every time","user":{"login":"bathmatt","id":14926624,"avatar_url":"https://avatars.githubusercontent.com/u/14926624?v=3","gravatar_id":"","url":"https://api.github.com/users/bathmatt","html_url":"https://github.com/bathmatt","followers_url":"https://api.github.com/users/bathmatt/followers","following_url":"https://api.github.com/users/bathmatt/following{/other_user}","gists_url":"https://api.github.com/users/bathmatt/gists{/gist_id}","starred_url":"https://api.github.com/users/bathmatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bathmatt/subscriptions","organizations_url":"https://api.github.com/users/bathmatt/orgs","repos_url":"https://api.github.com/users/bathmatt/repos","events_url":"https://api.github.com/users/bathmatt/events{/privacy}","received_events_url":"https://api.github.com/users/bathmatt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/trilinos/Trilinos/labels/build","name":"build","color":"bfd4f2"},{"url":"https://api.github.com/repos/trilinos/Trilinos/labels/ready","name":"ready","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/trilinos/Trilinos/milestones/20","html_url":"https://github.com/trilinos/Trilinos/milestones/Get%20Trilinos%20building%20with%20CMake%20+%20Ninja%20+%20Fortran","labels_url":"https://api.github.com/repos/trilinos/Trilinos/milestones/20/labels","id":1688142,"number":20,"title":"Get Trilinos building with CMake + Ninja + Fortran","description":"This epic/milestone is to track effort to get all Trilinos building with CMake + Ninja with Fortran turned on.  CMake has been able to use Ninja for the build (instead of make) for a long time, but only for C and C++, not Fortran.  As part of a CASL contract, Kitware has added for Fortran with Ninja to a fork of Ninja and a branch of CMake.\r\n\r\nThis epic/milestone will be complete when all of Trilinos works with CMake+Ninja+Fortran for all of the platforms where it should work. \r\n","creator":{"login":"bartlettroscoe","id":1959736,"avatar_url":"https://avatars.githubusercontent.com/u/1959736?v=3","gravatar_id":"","url":"https://api.github.com/users/bartlettroscoe","html_url":"https://github.com/bartlettroscoe","followers_url":"https://api.github.com/users/bartlettroscoe/followers","following_url":"https://api.github.com/users/bartlettroscoe/following{/other_user}","gists_url":"https://api.github.com/users/bartlettroscoe/gists{/gist_id}","starred_url":"https://api.github.com/users/bartlettroscoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartlettroscoe/subscriptions","organizations_url":"https://api.github.com/users/bartlettroscoe/orgs","repos_url":"https://api.github.com/users/bartlettroscoe/repos","events_url":"https://api.github.com/users/bartlettroscoe/events{/privacy}","received_events_url":"https://api.github.com/users/bartlettroscoe/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2016-04-06T20:12:43Z","updated_at":"2016-04-06T20:14:53Z","due_on":null,"closed_at":null},"comments":16,"created_at":"2016-04-01T19:27:31Z","updated_at":"2016-04-28T17:14:33Z","closed_at":null,"body":"@bartlettroscoe \r\nEverytime configure runs all the fortran files are rebuilt using the custom ninja.  I edit the cmakefiles.txt in panzer and it recompiles all the fortran files, 1300 or so of them.  \r\n"},"comment":{"url":"https://api.github.com/repos/trilinos/Trilinos/issues/comments/215498806","html_url":"https://github.com/trilinos/Trilinos/issues/261#issuecomment-215498806","issue_url":"https://api.github.com/repos/trilinos/Trilinos/issues/261","id":215498806,"user":{"login":"bradking","id":87268,"avatar_url":"https://avatars.githubusercontent.com/u/87268?v=3","gravatar_id":"","url":"https://api.github.com/users/bradking","html_url":"https://github.com/bradking","followers_url":"https://api.github.com/users/bradking/followers","following_url":"https://api.github.com/users/bradking/following{/other_user}","gists_url":"https://api.github.com/users/bradking/gists{/gist_id}","starred_url":"https://api.github.com/users/bradking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradking/subscriptions","organizations_url":"https://api.github.com/users/bradking/orgs","repos_url":"https://api.github.com/users/bradking/repos","events_url":"https://api.github.com/users/bradking/events{/privacy}","received_events_url":"https://api.github.com/users/bradking/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T17:14:33Z","updated_at":"2016-04-28T17:14:33Z","body":"Thanks for sending the file.  I see output like this in it:\r\n\r\n    ninja explain: output /tmp/tmpxft_00004c86_00000000-14_gtest-all.ii of phony edge with no inputs doesn't exist\r\n    ninja explain: /tmp/tmpxft_00004c86_00000000-14_gtest-all.ii is dirty\r\n\r\nThese appear to be temporary files used by the compiler wrapper to do preprocessing.  This causes the preprocessor output to have `# <line> <file>` directives that report temporary files.  CMake thinks these are real dependencies and tells Ninja about them.  Of course they quickly go away so on the next build Ninja thinks things are out of date.  I will have to re-think how CMake extract the preprocessing dependencies from Fortran sources.\r\n"}}