Last change
on this file since 25 was
25,
checked in by zhangj, 10 years ago
|
Fix the bug to compile Tracy3 sources in r24.
|
-
Property svn:executable set to
*
|
File size:
662 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | # not sh since on Ubuntu sh is not bash |
---|
3 | set -x # for debugging |
---|
4 | |
---|
5 | #=================================================== |
---|
6 | # Compile non-parallel Tracy3 on the ubuntu 12.04 |
---|
7 | # |
---|
8 | # |
---|
9 | # Last updated by Jianfeng Zhang @LAL, 04/2012. |
---|
10 | #=================================================== |
---|
11 | |
---|
12 | dir=`pwd` |
---|
13 | #NUM_REC="$dir/num_rec" |
---|
14 | |
---|
15 | #INSTALL="/usr/bin/install" |
---|
16 | |
---|
17 | TRACY="tracy" |
---|
18 | |
---|
19 | cd "$dir/$TRACY" |
---|
20 | |
---|
21 | # CVS file is inside, do not erase |
---|
22 | #rm -rf autom4te.cache |
---|
23 | rm -rf aclocal.m4 |
---|
24 | |
---|
25 | make distclean |
---|
26 | |
---|
27 | ./bootstrap |
---|
28 | |
---|
29 | FFLAGS="-g -O2 -Wall -fbounds-check" CXXFLAGS="-g -O2 -Wall -fno-implicit-templates" CC=gcc F77=gfortran CXX=g++ ./configure --prefix=$dir/$TRACY/tracy |
---|
30 | |
---|
31 | |
---|
32 | make |
---|
33 | make install |
---|
Note: See
TracBrowser
for help on using the repository browser.