source: gs2-extensions/parallel-building/trunk/src/src/CASCADE-MAKE/GETCPU.sh@ 35762

Last change on this file since 35762 was 27561, checked in by jmt12, 11 years ago

Adding very basic compile file for getcpu - can't be bothered going through libtool nightmare for a one line program

  • Property svn:executable set to *
File size: 382 bytes
Line 
1#!/bin/bash
2
3package=getcpu
4version=-src
5
6progname=$0
7
8source ../cascade-make/lib/cascade-lib.bash GEXTPARALLELBUILDING ../.. $*
9
10prefix=$GEXTPARALLELBUILDING_INSTALLED
11
12rm -f ${GEXTPARALLELBUILDING_INSTALLED}/bin/getcpu
13pushd ${GEXTPARALLELBUILDING}/src/getcpu-src
14rm -f getcpu
15echo Compiling getcpu...
16gcc -o getcpu getcpu.cpp
17cp getcpu ${GEXTPARALLELBUILDING_INSTALLED}/bin/
18popd
Note: See TracBrowser for help on using the repository browser.