Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

Commit

Permalink
Upgrade scotch to 6.0.4.
Browse files Browse the repository at this point in the history
  • Loading branch information
yungyuc committed Sep 11, 2015
1 parent bfde1f0 commit 8a50a00
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 10 deletions.
7 changes: 1 addition & 6 deletions scotch/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@ cd src/
echo 'prefix = $PREFIX' > Makefile.inc
echo '' >> Makefile.inc
if [ `uname` == "Darwin" ]; then
cat Make.inc/Makefile.inc.x86-64_pc_linux2 | \
sed -e "s/-lz -lm -lrt/-lz -lm/" | \
sed -e "s/-DSCOTCH_PTHREAD//" | \
sed -e "s/-DCOMMON_PTHREAD//" | \
sed -e "s/= -O3/= -fPIC -O3/" >> \
Makefile.inc
cp -f $RECIPE_DIR/darwin/Makefile.inc Makefile.inc
else
cat Make.inc/Makefile.inc.x86-64_pc_linux2 | \
sed -e "s/= -O3/= -fPIC -O3/" >> \
Expand Down
23 changes: 23 additions & 0 deletions scotch/darwin/Makefile.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
prefix = $PREFIX

EXE =
LIB = .a
OBJ = .o

MAKE = make
AR = ar
ARFLAGS = -ruv
CAT = cat
CCS = gcc
CCP = mpicc
CCD = gcc
CFLAGS = -O3 -fPIC -DCOMMON_PTHREAD_BARRIER -DCOMMON_PTHREAD -DSCOTCH_CHECK_AUTO -DCOMMON_RANDOM_FIXED_SEED -DCOMMON_TIMING_OLD -DSCOTCH_RENAME -DCOMMON_FILE_COMPRESS_BZ2 -DCOMMON_FILE_COMPRESS_GZ
CLIBFLAGS =
LDFLAGS = -lz -lm -pthread -lbz2
CP = cp
LEX = flex -Pscotchyy -olex.yy.c
LN = ln
MKDIR = mkdir
MV = mv
RANLIB = ranlib
YACC = bison -pscotchyy -y -b y
8 changes: 4 additions & 4 deletions scotch/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package:
name: scotch
version: "6.0.0"
version: "6.0.4"

source:
fn: scotch_6.0.0.tar.gz
url: https://gforge.inria.fr/frs/download.php/31831/scotch_6.0.0.tar.gz
md5: ba117428c0a6cd97d0c93e8b872bb3fe
fn: scotch_6.0.4.tar.gz
url: http://gforge.inria.fr/frs/download.php/file/34618/scotch_6.0.4.tar.gz
md5: d58b825eb95e1db77efe8c6ff42d329f
patches:
- clock_gettime.patch [osx]

Expand Down

0 comments on commit 8a50a00

Please sign in to comment.