Changeset 7790:59e100c37713


Ignore:
Timestamp:
12/15/07 20:42:18 (6 years ago)
Author:
William Stein <wstein@…>
Branch:
default
Message:

update spkg-install

File:
1 edited

Legend:

Unmodified
Added
Removed
  • spkg-install

    r7093 r7790  
    7878 
    7979if [ -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 
    8184    # Pull in changes from the archive just downloaded.  
    8285    hg pull "$CUR" 
     
    9194    # upgrade.  So we touch all pyrex code. 
    9295 
    93     touch */*.pyx */*/*.pyx */*/*/*.pyx */*/*/*/*.pyx */*/*/*/*/*.pyx */*/*/*/*/*.pyx  */*/*/*/*/*/*.pyx  2> /dev/null 
    94  
    9596    echo "Deleting the scons target." 
    9697    cd c_lib 
     
    103104    rm -rf build 
    104105 
    105     "$SAGE_ROOT/sage" -b main 
     106    "$SAGE_ROOT/sage" -ba-force  
    106107    if [ $? -ne 0 ]; then 
    107108        echo "Error building new version of SAGE." 
    108     else 
    109         # repeat -- this makes certain to copy over all the pyx files for inspect. 
    110         "$SAGE_ROOT/sage" -b main 
    111109    fi 
    112110    exit $? 
     
    117115cp -pr * .hg* "$DEVEL/sage-main/" 
    118116 
    119 cd "$DEVEL/sage-main" 
     117cd "$DEVEL" 
     118rm -rf sage 
     119ln -sf sage-main sage 
    120120 
    121 cd "$CUR" 
    122121 
    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 
     122sage -ba-force 
    129123 
    130124if [ $? -ne 0 ]; then 
Note: See TracChangeset for help on using the changeset viewer.