Changeset 22233


Ignore:
Timestamp:
11/03/17 21:23:07 (7 years ago)
Author:
jdquinn
Message:

CHG: Adjusted configuration for Linux_Ubuntu_Binaries to allow for statically built and linked libraries.

Location:
issm/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/externalpackages/mpich/install-3.0-linux64-static.sh

    r22227 r22233  
    11#!/bin/bash
    22set -eu
     3
     4export CXXFLAGS="-fPIC"
     5export CFLAGS="-fPIC"
     6export FFLAGS="-fPIC"
    37
    48#Some cleanup
  • issm/trunk/externalpackages/petsc/install-3.6-linux64-static.sh

    r22232 r22233  
    2929        --download-mumps=1 \
    3030        --download-fblaslapack=1 \
    31         --download-scalapack=1
     31        --download-scalapack=1 \
     32        --CFLAGS="-fPIC" \
     33        --CC_LINKER_FLAGS="-fPIC" \
     34        --CXXFLAGS="-fPIC" \
     35        --FFLAGS="-fPIC" \
     36        --FC_LINKER_FLAGS="-fPIC"
    3237       
    3338#Compile and intall
  • issm/trunk/jenkins/linux64_ross_static

    r22232 r22233  
    2323        --with-m1qn3-dir=$ISSM_DIR/externalpackages/m1qn3/install \
    2424        --with-fortran-lib="-L/usr/lib/gcc/x86_64-linux-gnu/4.9 -lgfortran" \
    25         --with-numthreads=4'
     25        --with-numthreads=4 \
     26        --with-cxxoptflags="-fPIC"'
    2627
    2728#PYTHON and MATLAB testing
Note: See TracChangeset for help on using the changeset viewer.