dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #09874
Swig and scons
In order to get the swig-generated dolfin_wrap.cc to build with my gcc,
I need to perform some simple substitutions on the file which I've
expressed as a perl script:
perl -pi -e 's/Type v;/Type v = 0;/g' dolfin/swig/dolfin_wrap.cc
Does anyone know how I should tell scons that I'd like this line run
after dolfin_wrap.cc has been generated by swig and before mpic++ is
called to compile it to dolfin_wrap.os?
I currently do this manually after the build breaks.
Harish
Follow ups