• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Superconducting Toolkit


Commit MetaInfo

Revision84eb939b91f3f5551d64327928df12275eb7a880 (tree)
Time2016-10-05 02:37:33
Authorspigafi <spigafi@c92e...>
Commiterspigafi

Log Message

(semi)automated release script/procedure reflecting 6.0

git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13088 c92efa57-630b-4861-b058-cf58834340f0

Change Summary

Incremental Difference

--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
11 # Copyright (C) 2001-2016 Quantum ESPRESSO group
2-#
2+#
33 # This program is free software; you can redistribute it and/or
44 # modify it under the terms of the GNU General Public License
55 # as published by the Free Software Foundation; either version 2
@@ -64,7 +64,7 @@ default :
6464 # If "|| exit 1" is not present, the error code from make in subdirectories
6565 # is not returned and make goes on even if compilation has failed
6666
67-pw : bindir libfft libla mods liblapack libs libiotk
67+pw : bindir libfft libla mods liblapack libs libiotk
6868 if test -d PW ; then \
6969 ( cd PW ; $(MAKE) TLDEPS= all || exit 1) ; fi
7070
@@ -118,7 +118,7 @@ ld1 : bindir liblapack libfft libla mods libs
118118 if test -d atomic ; then \
119119 ( cd atomic ; $(MAKE) TLDEPS= all || exit 1 ) ; fi
120120
121-upf : libfft libla mods libs liblapack
121+upf : libfft libla mods libs liblapack
122122 if test -d upftools ; then \
123123 ( cd upftools ; $(MAKE) TLDEPS= all || exit 1 ) ; fi
124124
@@ -166,7 +166,7 @@ mods : libiotk libla libfft
166166 libs : mods
167167 ( cd clib ; $(MAKE) TLDEPS= all || exit 1 )
168168
169-lrmods : libs libla libfft
169+lrmods : libs libla libfft
170170 ( cd LR_Modules ; $(MAKE) TLDEPS= all || exit 1 )
171171
172172 bindir :
@@ -226,7 +226,7 @@ touch-dummy :
226226 # into system directories with no danger of name conflicts
227227 #########################################################
228228
229-inst :
229+inst :
230230 ( for exe in */*/*.x */bin/* ; do \
231231 file=`basename $$exe`; if test "$(INSTALLDIR)" != ""; then \
232232 if test ! -L $(PWD)/$$exe; then \
@@ -265,7 +265,7 @@ install : touch-dummy
265265
266266 #########################################################
267267 # Run test-suite for numerical regression testing
268-# NB: it is assumed that reference outputs have been
268+# NB: it is assumed that reference outputs have been
269269 # already computed once (usualy during release)
270270 #########################################################
271271
@@ -278,7 +278,7 @@ test-suite: pw cp touch-dummy
278278
279279 # remove object files and executables
280280 clean : doc_clean
281- touch make.inc
281+ touch make.inc
282282 for dir in \
283283 CPV LAXlib FFTXlib Modules PP PW EPW \
284284 NEB ACFDT COUPLE GWW XSpectra PWCOND \
@@ -309,13 +309,13 @@ veryclean : clean
309309 - rm -f espresso.tar.gz
310310 - rm -rf make.inc
311311
312-# remove everything not in the original distribution
312+# remove everything not in the original distribution
313313 distclean : veryclean
314314 ( cd install ; $(MAKE) -f plugins_makefile $@ || exit 1 )
315315
316316 tar :
317317 @if test -f espresso.tar.gz ; then /bin/rm espresso.tar.gz ; fi
318- # do not include unneeded stuff
318+ # do not include unneeded stuff
319319 find ./ -type f | grep -v -e /.svn/ -e'/\.' -e'\.o$$' -e'\.mod$$'\
320320 -e /.git/ -e'\.a$$' -e'\.d$$' -e'\.i$$' -e'_tmp\.f90$$' -e'\.x$$' \
321321 -e'~$$' -e'\./GUI' -e '\./tempdir' | xargs tar rvf espresso.tar
@@ -372,4 +372,3 @@ depend: libiotk version
372372
373373 version:
374374 - ( cd Modules; make version )
375-
--- a/dev-tools/release.sh
+++ b/dev-tools/release.sh
@@ -6,26 +6,35 @@ version=6.0
66 revision=13079
77
88 # make sure there is no locale setting creating unneeded differences.
9-LC_ALL=C
10-export LC_ALL
11-
12-mkdir $tempdir
13-cd $tempdir
14-/bin/rm -rf espresso/ qe-$version
9+#LC_ALL=C
10+#export LC_ALL
1511
1612 # get the svn copy via tag
1713 svn checkout http://qeforge.qe-forge.org/svn/q-e/tags/QE-$version/espresso qe-$version
1814
1915 # -OR- get the svn copy via revision checkout
20-svn checkout -r$revision svn+ssh://spigafi@qeforge.qe-forge.org/svnroot/q-e/trunk/espresso qe-$version
16+svn checkout -r$revision svn+ssh://<...>@qeforge.qe-forge.org/svnroot/q-e/trunk/espresso qe-$version
2117
2218 cd qe-$version
2319
20+# *** manual edit Makefile ***
21+# - Update PWgui
22+# - disable Doc distclean target
23+
24+# *** manual edit install/plugins_makefile ***
25+# - uncomment 'examples' target
26+# - uncomment 'uncompress-examples' target
27+# - uncomment 'examples_distclean' target
28+
29+# Manual edit "userconfig.tmp" and "ENVIRONMENT"
30+# - change 'SVN' to $revision
31+# - change 'REFERENCE_VERSION' to $revision
32+
2433 # generate version.f90 (requires svn files)
34+# save version.f90 (make veryclean removes it)
2535 touch make.inc
2636 cd Modules
2737 make version.f90
28-# save version.f90 (make veryclean removes it)
2938 mv version.f90 ..
3039 cd ..
3140
@@ -57,10 +66,6 @@ tar -xzvf PWgui-$version.tgz
5766 make tar-qe-modes VERSION=$version
5867 mv QE-modes-$version.tar.gz ../qe-$version-emacs_modes.tar.gz
5968
60-# *** manual edit Makefile ***
61-# - Update PWgui
62-# - disable Doc distclean target
63-
6469 # Updating reference outputs on test-suite
6570 cd test-suite
6671 find . -name benchmark.out* > list-SVN.txt
@@ -74,14 +79,14 @@ file_dst=`echo $x | awk '{ print $2}'`
7479 mv ${file_src} ${file_dst}
7580 done
7681 rm ./STUFF-TO-RENAME.txt ./list-SVN.txt ./list-$version.txt
77-
78-# Manual edit "userconfig.tmp"
82+cp License test-suite/
7983
8084 cd ..
8185
8286 make distclean
8387
8488 # packacking test-suite
89+mv test-suite test-suite
8590 tar -czvf ../qe-$version-test-suite.tar.gz test-suite
8691
8792 # Grouping Examples in the same directory and packacking them
@@ -105,9 +110,9 @@ mv ../PWCOND/examples/* PWCOND/
105110 mv ../PHonon/examples/* PHonon/
106111 rm -rf ../TDDFPT/Examples ../CPV/examples ../PHonon/examples ../NEB/examples ../COUPLE/examples ../PP/examples ../PP/simple_transport/examples ../PW/examples ../PWgui-6.0/examples ../XSpectra/examples ../GWW/examples ../EPW/examples ../atomic/examples ../PWCOND/examples
107112 cd ..
113+cp License Examples/
108114
109-# Manual edit "Makefile" and "install/plugins_makefile" to enable target
110-
115+# Grouping Examples in the same directory and packacking them
111116 tar -czvf ../qe-$version-examples.tar.gz Examples
112117
113118 cd ../
@@ -168,9 +173,7 @@ cp -R ../PHonon/Doc/user_guide ./ph_user_guide
168173 cp -R ../NEB/Doc/user_guide ./neb_user_guide
169174 cp -R ../atomic/Doc/pseudo-gen ./pseudo-gen
170175
171-#
172176 # Copy "Docs" to QE website
173-
174177 scp -R Doc <...>@<...>/wp-content/uploads/Doc-$version
175178
176179 # Connect to the website and create/update symbolic link to "Doc-$version"