[QE-developers] developers Digest, Vol 97, Issue 11
Layla Martin-Samos
lmartinsamos at gmail.com
Tue May 15 20:41:52 CEST 2018
Dear all, at that time (around 8 years ago) it was the only way I found (by
trial and error) to make the automatic download, configure (passing all
compilers and libs found by QE configure) and compile just by typing "make
yambo" (or "make want") after configuring QE. It is not based on any
particular argument, it was just working for this two packages in all arch
that I tested. For other occurencies of touch-dummy, I do not know.
Anyhow, any better idea that make all simpler would be great. Thank you,
Aaron for your contribution.
Layla (marsamos)
cheers
Layla
2018-05-15 16:58 GMT+02:00 A L <m.tesseracted at gmail.com>:
> Paolo,
>
> The touch-dummy is a way to force re-execution of a target even if there's
> been no changes to the source/compiled code. Looking at the git history
> this was originally only used for plugins yambo and want:
> https://gitlab.com/QEF/q-e/blob/91ee86cef9fcde9c77d582a96c1eb3
> f1502e9099/Makefile#L175
> I assume so that it would force make to re-download the plugin. GNU Make
> actually has a method to do this natively by adding your desired targets as
> a dependency to a .PHONY target.
> https://www.gnu.org/software/make/manual/html_node/Phony-Targets.html
> This makes it a little cleaner since you don't have to add touch-dummy as
> a dependency to all desired targets, but it's not as clear because then you
> have to go look at .PHONY to see if it's a forced target. Also I don't know
> if this was done for compatibility reasons with certain make systems. The
> author of the original add used the userid marsamos if you want to contact
> them to find out. Here's the relevant commit:
> https://gitlab.com/QEF/q-e/commit/91ee86cef9fcde9c77d582a96c1eb3f1502e9099
>
> Cheers,
> Aaron Mahler
> Duke University
>
> On Mon, May 14, 2018 at 6:00 AM, <developers-request at lists.
> quantum-espresso.org> wrote:
>
>> Send developers mailing list submissions to
>> developers at lists.quantum-espresso.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> https://lists.quantum-espresso.org/mailman/listinfo/developers
>> or, via email, send a message with subject or body 'help' to
>> developers-request at lists.quantum-espresso.org
>>
>> You can reach the person managing the list at
>> developers-owner at lists.quantum-espresso.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of developers digest..."
>>
>>
>> Today's Topics:
>>
>> 1. touch-dummy (Paolo Giannozzi)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Sun, 13 May 2018 21:52:03 +0200
>> From: Paolo Giannozzi <p.giannozzi at gmail.com>
>> To: General discussion list for Quantum ESPRESSO developers
>> <developers at lists.quantum-espresso.org>
>> Subject: [QE-developers] touch-dummy
>> Message-ID:
>> <CAPMgbCsqu42=Ue5-2QD+4B46hfv8ycp7u3NGA2WqT4yLKtEwzA at mail.
>> gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> Does anybody know the reason for the presence of the "touch-dummy" target
>> in Makefile?
>>
>> Paolo
>>
>> --
>> Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,
>> Univ. Udine, via delle Scienze 208, 33100 Udine, Italy
>> Phone +39-0432-558216, fax +39-0432-558222
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <http://lists.quantum-espresso.org/pipermail/developers/
>> attachments/20180513/f7ffbf52/attachment-0001.html>
>>
>> ------------------------------
>>
>> Subject: Digest Footer
>>
>> _______________________________________________
>> developers mailing list
>> developers at lists.quantum-espresso.org
>> https://lists.quantum-espresso.org/mailman/listinfo/developers
>>
>>
>> ------------------------------
>>
>> End of developers Digest, Vol 97, Issue 11
>> ******************************************
>>
>
>
> _______________________________________________
> developers mailing list
> developers at lists.quantum-espresso.org
> https://lists.quantum-espresso.org/mailman/listinfo/developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/developers/attachments/20180515/1189b67e/attachment-0001.html>
More information about the developers
mailing list