Le mardi 16 février 2016 à 06:38 -0800, Ben Ward a écrit :
> Hi,
> 
> I'm compiling Julia on a multi node cluster system and whilst I can
> get to to compile and install successfully,
> it compiles for the incorrect cpu architecture perhaps because I'm
> building it from a specific software install node.
> Which Makefiles, and their variables, must I edit in order to ensure
> that it compiles for x86_64 architecture?
> ARCH? MARCH? The README of the repo is slightly unclear on this to
> me.
You can pass MARCH=x86_64, and it will override JULIA_CPU_TARGET as
well. If you want to specify a more recent architecture, you can set
the latter to any of the values listed by llc -mattr=help. (If you set
MARCH without JULIA_CPU_TARGET, you'll need to find targets supported
both by gcc and LLVM.)

Please make suggestions if you think the README can be improved.


Regards

Reply via email to