Skip to content

Instantly share code, notes, and snippets.

@aont
Created September 11, 2024 14:19
Show Gist options
  • Save aont/1e64f8bc88c9210dfe51a416a736465d to your computer and use it in GitHub Desktop.
Save aont/1e64f8bc88c9210dfe51a416a736465d to your computer and use it in GitHub Desktop.
apt-get install gfortran-mingw-w64-x86-64-win32 gcc-mingw-w64-x86-64-win32
CCPREFIX=x86_64-w64-mingw32-
make -j$(nproc) TARGET=HASWELL NUM_THREADS=256 HOSTCC="gcc" AR=${CCPREFIX}ar CC=${CCPREFIX}gcc RANLIB=${CCPREFIX}ranlib F_COMPILER=${CCPREFIX}gfortran FC=${CCPREFIX}gfortran
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment