Changeset 7790:59e100c37713
- Timestamp:
- 12/15/07 20:42:18 (6 years ago)
- Branch:
- default
- File:
-
- 1 edited
-
spkg-install (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
spkg-install
r7093 r7790 78 78 79 79 if [ -d "$DEVEL/sage-main" ]; then 80 cd "$DEVEL/sage-main" 80 cd "$DEVEL" 81 rm -f sage 82 ln -sf sage-main sage 83 cd sage 81 84 # Pull in changes from the archive just downloaded. 82 85 hg pull "$CUR" … … 91 94 # upgrade. So we touch all pyrex code. 92 95 93 touch */*.pyx */*/*.pyx */*/*/*.pyx */*/*/*/*.pyx */*/*/*/*/*.pyx */*/*/*/*/*.pyx */*/*/*/*/*/*.pyx 2> /dev/null94 95 96 echo "Deleting the scons target." 96 97 cd c_lib … … 103 104 rm -rf build 104 105 105 "$SAGE_ROOT/sage" -b main106 "$SAGE_ROOT/sage" -ba-force 106 107 if [ $? -ne 0 ]; then 107 108 echo "Error building new version of SAGE." 108 else109 # repeat -- this makes certain to copy over all the pyx files for inspect.110 "$SAGE_ROOT/sage" -b main111 109 fi 112 110 exit $? … … 117 115 cp -pr * .hg* "$DEVEL/sage-main/" 118 116 119 cd "$DEVEL/sage-main" 117 cd "$DEVEL" 118 rm -rf sage 119 ln -sf sage-main sage 120 120 121 cd "$CUR"122 121 123 # touch and build everything 124 sage -b main 125 126 # repeat -- this makes certain to copy over all the pyx files, so they appear when 127 # you use inspect. (TODO: Maybe this is a hack that can be eliminated? -- William Stein, 2007-10-04) 128 sage -b main 122 sage -ba-force 129 123 130 124 if [ $? -ne 0 ]; then
Note: See TracChangeset
for help on using the changeset viewer.
