Closed ZizzyZizzy closed 1 year ago
You need to put -f x86_64
at the end. -f
does some weird magic to optionally accept a parameter which breaks other stuff.
Incidentally, if you're compiling on the machine that's going to use the binary, you can drop the -t
option and use -f
without specifying arch, and it'll optimize for the current machine automatically. That can produce a slightly faster binary (if you specify -t
in particular it will disable some newer instruction sets like AVX).
From README:
-t linux64 -j4 -f x86_64
-t linux64 -j4 -f x86_64 -P 5
-t mac-x86-64 -j4 -f
-t android-aarch64 -x -j4 -f
Me running it on Ubuntu 18.04:
README also says "-P 4" is the default. This is not true. If the version is not specified, the script exits:
I had to update the script to get it to run. No idea why getopts is not working here.