Changeset 1444


Ignore:
Timestamp:
07/30/09 17:10:10 (15 years ago)
Author:
Mathieu Morlighem
Message:

fixed metis compilation for linux

Location:
issm/trunk/externalpackages/metis
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/externalpackages/metis/config/linux/Makefile.in.patch

    r1441 r1444  
    66> CC = cc
    778c6
    8 < OPTFLAGS = -DLINUX
     8< OPTFLAGS = -DLINUX -fPIC
    99---
    10 > OPTFLAGS = -O2 -fPIC
     10> OPTFLAGS = -O2
  • issm/trunk/externalpackages/metis/install.sh

    r1420 r1444  
    11#!/bin/bash
    2 
    3 #Get number of cpus on current platform
    4 NUMCPUS=`grep -c processor /proc/cpuinfo`;
    52
    63#version of metis
     
    2118rm -rf metis-$version
    2219
    23 #Platform specific stuff:
    24 ./configure.sh
    25 
    2620#Apply patches
    2721cd install
     
    3024patch -R Lib/metis.h ../metis.h.patch
    3125patch Lib/Makefile ../lib_Makefile.patch
     26exit
    3227
    3328#Compile metis
    34 make  -j $NUMCPUS
     29make
    3530
    3631#Patch proto.h
Note: See TracChangeset for help on using the changeset viewer.