Skip to content

Commit

Permalink
correction/improvements to macports build script
Browse files Browse the repository at this point in the history
  • Loading branch information
vtjnash committed May 15, 2012
1 parent d16f2b9 commit d8be98d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions contrib/macports.make
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,21 @@

PREFIX=/opt/local

LLVM_CONFIG=llvm-config-mp-3.0
LLVM_CONFIG=${PREFIX}/bin/llvm-config-mp-3.0
CFLAGS='-02 -I${PREFIX}/include -I${PREFIX}/include/ufsparse'
CXXFLAGS='-02'
LDFLAGS='-L${PREFIX}/lib'
CC=/usr/bin/llvm-gcc-4.2
CXX=/usr/bin/llvm-g++-4.2
CPP=/usr/bin/llvm-cpp-4.2
FC=${PREFIX}/bin/gfortran-mp-4.5
USEGCC=1
USE_GCC=1
USE_CLANG=0

all: default
default test:
$(MAKE) -f repackage_system_suitesparse.make USE_DEBIAN=1 CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS} LDFLAGS=${LDFLAGS}
$(MAKE) -C .. USE_DEBIAN=1 LLVM_CONFIG=${LLVM_CONFIG} \
PREFIX=${PREFIX} CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS} LDFLAGS=${LDFLAGS} \
CC=${CC} CXX=${CXX} CPP=${CPP} FC=${FC} USEGCC=1 $@
CC=${CC} CXX=${CXX} CPP=${CPP} FC=${FC} USE_GCC=${USE_GCC} USE_CLANG=${USE_CLANGE} $@

0 comments on commit d8be98d

Please sign in to comment.