Skip to content

Commit f140c8e

Browse files
committed
Merge branch 'ciadebug'
2 parents 4c70455 + 15bf857 commit f140c8e

File tree

6 files changed

+165
-213
lines changed

6 files changed

+165
-213
lines changed

Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ git:
109109
git commit -a; git pull; git push
110110

111111

112-
VERSION=1.6.0
112+
VERSION=1.6.1
113113

114114
EXTRA_DIST=linbox-auto-install.sh
115115
#incremente-versions

TODO

Lines changed: 0 additions & 84 deletions
This file was deleted.

configure.ac

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
AC_PREREQ([2.68])
2323

24-
AC_INIT([LinBox], [1.6.0],[linbox-use@googlegroups.com],[linbox],
24+
AC_INIT([LinBox], [1.6.1],[linbox-use@googlegroups.com],[linbox],
2525
[http://www.linalg.org/])
2626

2727
AC_CONFIG_MACRO_DIR([macros])
@@ -225,8 +225,8 @@ LB_DRIVER
225225
echo "-----------------------------------------------"
226226

227227
# Now getting GMP and Givaro from FFLAS-FFPACK - AB 2014-12-10
228-
PKG_CHECK_MODULES([FFLAS_FFPACK], [fflas-ffpack >= 2.3.1])
229-
PKG_CHECK_MODULES([GIVARO], [givaro >= 4.0.5])
228+
PKG_CHECK_MODULES([FFLAS_FFPACK], [fflas-ffpack >= 2.4.0])
229+
PKG_CHECK_MODULES([GIVARO], [givaro >= 4.1.0])
230230

231231
dnl LB_CHECK_FFLAS_FFPACK(,,[
232232
dnl echo ''

incremente-versions

Lines changed: 40 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
set conf = configure.ac
99
set ver = Makefile.am
10+
set autoinst = linbox-auto-install.sh
1011

1112
#verbatim second argument of AC_INIT
1213
set verb = `grep ^AC_INIT $conf | cut -d',' -f2`
@@ -60,7 +61,7 @@ if ("$answ" == "y") then
6061
if ("$newv" != "$verb") then
6162
echo -n "Confirmation of incrementation ? (yes/no)"
6263
set answ = $<
63-
set backupconf = $conf.back$$
64+
set backupconf = $conf.back$$
6465
if ("$answ" == "yes") then
6566
\cp -p $conf $backupconf
6667
echo "Back-up of $conf made in $backupconf. Now overwriting $conf."
@@ -94,18 +95,53 @@ if ("$answ" == "y") then
9495
diff -u0 $ver $tmpfile
9596
echo -n "Confirmation of incrementation ? (yes/no) "
9697
set answ = $<
98+
set backupmake = $ver.back$$
9799
if ("$answ" == "yes") then
100+
\cp -p $ver $backupmake
98101
\mv -f $tmpfile $ver
99-
echo " your old $conf is destroyed..."
100-
\rm -f $backupconf
101102
else
102103
echo "'$answ' read. Not incrementing anything."
103104
echo " your old $conf is restored..."
104105
\rm -f $tmpfile
105106
\mv -f $backupconf $conf
106107
exit 0
107108
endif
108-
109+
#now change linbox-auto-install accordingly
110+
echo -n "Incrementing linbox-auto-install.sh revision accordingly"
111+
set tmpfile = `mktemp` #tempfile
112+
set sedfile = `mktemp` #tempfile
113+
switch ($increm)
114+
case 0:
115+
echo -n "s/STABLE_LB=.*/STABLE_LB=$macro.$minor.$pmicro/" >> $sedfile
116+
breaksw
117+
case 1:
118+
echo "s/STABLE_LB=.*/STABLE_LB=$macro.$pminor.0/" > $sedfile
119+
breaksw
120+
case 2:
121+
echo "s/STABLE_LB=.*/STABLE_LB=$pmacro.0.0/" > $sedfile
122+
breaksw
123+
default:
124+
echo "Something abnormal happened"
125+
exit 1
126+
breaksw
127+
endsw
128+
sed -f $sedfile $autoinst > $tmpfile
129+
\rm -f $sedfile
130+
diff -u0 $autoinst $tmpfile
131+
echo -n "Confirmation of incrementation ? (yes/no) "
132+
set answ = $<
133+
if ("$answ" == "yes") then
134+
\mv -f $tmpfile $autoinst
135+
echo " your old $conf and $ver are destroyed..."
136+
\rm -f $backupconf $backupmake
137+
else
138+
echo "'$answ' read. Not incrementing anything."
139+
echo " your old $conf and $ver are restored..."
140+
\rm -f $tmpfile
141+
\mv -f $backupconf $conf
142+
\mv -f $backupmake $ver
143+
exit 0
144+
endif
109145
endif
110146
else
111147
echo "'$answ' read. Not doing anything."

0 commit comments

Comments
 (0)