I am using the julia-0.5.1 option:
-C, --cpu-target <target> Limit usage of cpu features up to <target>
inside BuildExecutable.jl
turns out that compiling in Windows10 (with Intel(R) Core™ i7-5500U CPU @ 2.40GHz) with cpu_target
"core2"
, "x86-64"
, "generic"
seem to cause:
LLVM ERROR: Program used external function 'rint' which could not be resolved!
in a Windows Server 2012 R2 (Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz)
Yes, compiling in one machine and running in another.
"generic"
also causes:
WARNING: unable to determine host cpu name
Moreover, compiling with "native"
works locally in both machines.
this issue is related to https://github.com/dhoegh/BuildExecutable.jl/issues/47