Changeset 6030:7010979ab985
- Timestamp:
- 08/29/07 19:16:42 (6 years ago)
- Branch:
- default
- Parents:
- 6015:344d714d7a89 (diff), 6029:e2c9515e3bd7 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Files:
-
- 13 deleted
- 2 edited
-
c_lib/src/ZZ_pylong.cc (deleted)
-
c_lib/src/ZZ_pylong.h (deleted)
-
c_lib/src/ccobject.h (deleted)
-
c_lib/src/interrupt.c (deleted)
-
c_lib/src/interrupt.h (deleted)
-
c_lib/src/mpn_pylong.c (deleted)
-
c_lib/src/mpn_pylong.h (deleted)
-
c_lib/src/mpz_pylong.c (deleted)
-
c_lib/src/mpz_pylong.h (deleted)
-
c_lib/src/ntl_wrap.cc (deleted)
-
c_lib/src/ntl_wrap.h (deleted)
-
c_lib/src/stdsage.c (deleted)
-
c_lib/src/stdsage.h (deleted)
-
setup.py (modified) (3 diffs)
-
setup.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
setup.py
r6015 r6030 91 91 92 92 #### Build the c_lib first 93 if needs_c_lib_build() and os.system( "cd c_lib && scons install" ) != 0: 94 print " ERROR: The c_lib did not build successfully." 95 sys.exit(1) 93 if needs_c_lib_build(): 94 if os.system( "cd c_lib && scons install" ) != 0: 95 print " ERROR: The c_lib did not build successfully." 96 sys.exit(1) 96 97 97 98 include_dirs = ['%s/include'%SAGE_LOCAL, '%s/include/python'%SAGE_LOCAL, \ … … 732 733 if DEVEL: 733 734 extra_compile_args.append('-ggdb') 734 ext_modules.append(hanke)735 #ext_modules.append(hanke) 735 736 #ext_modules.append(mpc) 736 737 … … 756 757 bool -- whether or not outfile must be regenerated. 757 758 """ 758 759 759 if is_older(filename, outfile): 760 760 print "\nBuilding %s because it depends on %s."%(outfile, filename) -
setup.py
r6016 r6030 79 79 def needs_c_lib_build(): 80 80 lib = '../../local/lib/libcsage.so' 81 files = os.listdir( 'c_lib' ) 81 try: 82 files = os.listdir( 'c_lib' ) 83 except OSError: # during setup.py sdist 84 return False 82 85 src_files = ['c_lib/' + f for f in files if is_src_file( f )] 83 86 src_files += ['c_lib/SConstruct'] … … 100 103 return ext == ".h" or ext == ".c" or ext == ".cc" 101 104 105 def needs_c_lib_build(): 106 lib = '../../local/lib/libcsage.so' 107 try: 108 files = os.listdir( 'c_lib/src' ) 109 except OSError: 110 return False 111 src_files = ['c_lib/src/' + f for f in files if is_src_file( f )] 112 src_files += ['c_lib/configure', 'c_lib/Makefile'] 113 for f in src_files: 114 if is_older( f, lib ): 115 return True 116 return False 117 118 #### Build the c_lib first 119 if needs_c_lib_build() and os.system( "cd c_lib && make install" ) != 0: 120 print " ERROR: The c_lib did not build successfully." 121 sys.exit(1) 102 122 103 123 #####################################################
Note: See TracChangeset
for help on using the changeset viewer.
