[Scons-users] Dependences build fail in Windows using gfortran

Bill Deegan bill at baddogconsulting.com
Sat May 4 23:38:41 EDT 2019


Can you create a small simple reproducer example and push to github and
share?
Also show what should be happening and is not?

On Sat, May 4, 2019 at 8:20 PM Bill Deegan <bill at baddogconsulting.com>
wrote:

> run:
> scons --tree=prune to see all the dependencies scons is aware of.
> Likely a dependency is missing which is why it's compiling in the wrong
> order.
>
> On Sat, May 4, 2019 at 2:46 PM Javier GONZALEZ PLATAS <jplatas at ull.edu.es>
> wrote:
>
>> Ok. In windows doesn’t work in correct way.
>>
>> El El sáb, 4 may 2019 a las 23:36, Bill Deegan <bill at baddogconsulting.com>
>> escribió:
>>
>>> Javier,
>>>
>>> You cannot force order in SCons.
>>> It will determine the dependencies and process accordingly.
>>>
>>> If it's compiling in the wrong  order, then you're missing dependencies
>>> and/or SCons is not adding them when scannning/emitting
>>>
>>> -Bill
>>>
>>> On Sat, May 4, 2019 at 8:19 AM Javier GONZALEZ PLATAS <
>>> jplatas at ull.edu.es> wrote:
>>>
>>>> Hi!
>>>> While I can compile and link this example on my MacOS system, when I
>>>> try to do the same in a windows 10 with gfortran, scons try to compile the
>>>> files in any order without any considerations about that some requeriments
>>>> have to be satisfied.
>>>> In my case, in windows, scons try to compile a_test2.f90 as first and
>>>> it's clear that it isn't possible.
>>>> In the SConstruct I have defined the list in correct order for
>>>> compilation.
>>>>
>>>> Any suggestion?
>>>>
>>>> Javier González Platas
>>>>
>>>>
>>>>
>>>> Departamento de Física
>>>> Avda. Astrofísico Fco. Sánchez s/n
>>>> Apartado 456
>>>> 38200 La Laguna. S/C de Tenerife
>>>>
>>>> T. 922 318 251
>>>> M. 629 080 140
>>>>
>>>> ull.es <https://www.ull.es/>
>>>> ------------------------------
>>>> Aviso de confidencialidad
>>>> <https://www.ull.es/informacion-sobre-web-institucional/#aviso-confidencialidad>
>>>>
>>> _______________________________________________
>>>> Scons-users mailing list
>>>> Scons-users at scons.org
>>>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>>>
>>> _______________________________________________
>>> Scons-users mailing list
>>> Scons-users at scons.org
>>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>>
>> --
>> Javier González Platas
>>
>>
>>
>> Departamento de Física
>> Avda. Astrofísico Fco. Sánchez s/n
>> Apartado 456
>> 38200 La Laguna. S/C de Tenerife
>>
>> T. 922 318 251
>> M. 629 080 140
>>
>> ull.es <https://www.ull.es/>
>> ------------------------------
>> Aviso de confidencialidad
>> <https://www.ull.es/informacion-sobre-web-institucional/#aviso-confidencialidad>
>> _______________________________________________
>> Scons-users mailing list
>> Scons-users at scons.org
>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20190504/c8ef9ddb/attachment.html>


More information about the Scons-users mailing list