MYSTRAN icon indicating copy to clipboard operation
MYSTRAN copied to clipboard

buildig with flang fails with "multiple rules generate for allocated_memory_use_ifs.mod"

Open looooo opened this issue 11 months ago • 3 comments

We want to switch from mingw-gfortran to flang on windows. But I am running into this issue:

build stopped: multiple rules generate D:/bld/mystran_1736277984169/work/Binaries/mod/allocated_memory_use_ifs.mod.

Sadly it's not obvious for me whats wrong, thats why I decided to create this issue. Maybe someone of you knows what has to be patched.

ref: https://github.com/conda-forge/mystran-feedstock/pull/5

looooo avatar Jan 07 '25 19:01 looooo

ok this was the ninja error I was getting before. I resolved it with this commit: https://github.com/MYSTRANsolver/MYSTRAN/pull/92/commits/dfd10a38a9c5c2b9c4215f612acd006c285dec60

the modules were build twice, which ninja didn't accepted.

looooo avatar Jan 08 '25 17:01 looooo

can you wrap that commit in a PR, please? if it doesn't break any other current builds, we can merge it!

Bruno02468 avatar Jan 09 '25 22:01 Bruno02468

It's included here: https://github.com/MYSTRANsolver/MYSTRAN/pull/92

looooo avatar Jan 09 '25 23:01 looooo

ninja is supported now per @Bruno02468

SteveDoyle2 avatar May 25 '25 21:05 SteveDoyle2