Skip to content

Instantly share code, notes, and snippets.

@kmtu
Forked from derekbrokeit/build-fftw3-nec-sx.sh
Last active August 29, 2015 14:12
Show Gist options
  • Save kmtu/8af74d3786567d947456 to your computer and use it in GitHub Desktop.
Save kmtu/8af74d3786567d947456 to your computer and use it in GitHub Desktop.
#!/bin/sh
# fix the configure files
patch -p1 config.guess < fix-config-sx9.diff
# make the build directory
mkdir -p builder
cd builder
# configure
../configure --host=sx9-nec-superux CC=sxcc CCAS=sxas CCASFLAGS='-m -F' CXX=sxc++ MPICC=sxmpicc MPIF77=sxmpif77 F77=sxf90 F90=sxf90 FC=sxf90 AR=sxar LD=sxld RANLIB=echo --prefix=$HOME/local/sx CFLAGS='-Cvsafe -size_t64' --enable-mpi --enable-shared=yes
make && make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment