 |
|
|
|
Actions
|
|
[ Date Prev][ Date Next][ Thread Prev][ Thread Next][ Date Index][ Thread Index]
[patch] Config release options; add missing paths to release.sh
- To: vsipl++@xxxxxxxxxxxxxxxx
- Subject: [patch] Config release options; add missing paths to release.sh
- From: Jules Bergmann <jules@xxxxxxxxxxxxxxxx>
- Date: Wed, 18 Jan 2006 08:22:36 -0500
Patch applied. -- Jules
Index: ChangeLog
===================================================================
RCS file: /home/cvs/Repository/vpp/ChangeLog,v
retrieving revision 1.370
diff -u -r1.370 ChangeLog
--- ChangeLog 18 Jan 2006 12:32:05 -0000 1.370
+++ ChangeLog 18 Jan 2006 13:36:07 -0000
@@ -1,3 +1,8 @@
+2006-01-18 Jules Bergmann <jules@xxxxxxxxxxxxxxxx>
+
+ * scripts/config: Don't use -W -Wall for release (which has -DNDEBUG).
+ * scripts/release.sh: Add missing paths for IPP and MKL.
+
2006-01-17 Jules Bergmann <jules@xxxxxxxxxxxxxxxx>
* GNUmakefile.in: Exclude _darcs directories from source package.
Index: scripts/config
===================================================================
RCS file: /home/cvs/Repository/vpp/scripts/config,v
retrieving revision 1.2
diff -u -r1.2 config
--- scripts/config 18 Jan 2006 12:32:05 -0000 1.2
+++ scripts/config 18 Jan 2006 13:36:07 -0000
@@ -1,4 +1,4 @@
-common = ['-Wall', '-W',
+release = ['-O2', '-DNDEBUG',
'-funswitch-loops',
'-fgcse-after-reload',
'--param', 'max-inline-insns-single=2000',
@@ -6,8 +6,7 @@
'--param', 'large-function-growth=800',
'--param', 'inline-unit-growth=300']
-release = common + ['-O2', '-DNDEBUG']
-debug = common + ['-g']
+debug = ['-g', '-W', '-Wall']
cross = ['--host=i686-pc-linux-gnu',
'--build=x86_64-unknown-linux-gnu',
Index: scripts/release.sh
===================================================================
RCS file: /home/cvs/Repository/vpp/scripts/release.sh,v
retrieving revision 1.1
diff -u -r1.1 release.sh
--- scripts/release.sh 18 Jan 2006 12:32:05 -0000 1.1
+++ scripts/release.sh 18 Jan 2006 13:36:07 -0000
@@ -44,6 +44,7 @@
srcdir="sourceryvsipl++-1.0"
test_srcdir="$srcdir"
srcpkg="$srcdir.tar.bz2"
+debug="yes"
while getopts "w:d:c:p:C:t:" arg; do
case $arg in
@@ -88,6 +89,9 @@
GC_DIR=/opt/gc6.6/lib
DOT_DIR=/usr/local/graphviz-2.6
+ipp_dir=/opt/intel/ipp41_eval
+mkl_dir=/opt/intel/mkl721
+
export PATH=$TOOL_DIR/sourceryg++/bin
export PATH=$PATH:$TOOL_DIR/bin
export PATH=$PATH:$GCCTOOL_DIR/bin
@@ -110,7 +114,15 @@
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$mkl_dir/lib/32
if test "$debug" == "yes"; then
- echo `which g++`
+ echo "which g++ : " `which g++`
+ echo "configure file: $cfgfile"
+
+ save_IFS=$IFS; IFS=":"
+ for dir in $LD_LIBRARY_PATH
+ do
+ echo "LD_LIBRARY_PATH: $dir"
+ done
+ IFS=$save_IFS
fi
# 1. Build/unpack source package.
|
|