[WIP] vendor/riscv/riscv-isa-sim: fix yaml-cpp build
There are several issues building spike in CVA6 CI:
- The
yaml-cpptarget added by Valentin outputs.hfiles so it must be run before compilingriscvwhich directly depends on it, andspike_mainwhich indirectly depends on it. The way it was added did not guarantee that so we encountered non-deterministic "missing included .h file" errors at compile-time. This should be fixed in this PR thanks togen_hdrsvariables. - (There was an issue with submodule recursive clone but that is solved in CVA6 repository)
- There is the same issue at link-time. An
_LDFLAGSvariable has been added but I feel it does not fix the thing. So this change might not be relevant, and I unfortunately have no time to fix now. - With the current version, some VCS-UVM simulations fail.