Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 7b61761

Browse files
Merge branch 'master' into ticket/15229
* master: (216 commits) also remove untracked directories after an aborted import patch trac_interface: encode fields with utf-8 as well sage.dev: don't textwrap during doctesting patch.py: deal with hg's silly copy commands SageDev: fix pull doctest SageDev: remove branch keyword from pull fix doctest errors in SageDev.push remove (now) bad uses of SageDev.pull remove unused garbage dumb down pull to fix it don't abort ticket editing on nop push remove last reference to download command fix dev scripts in emacs shell remove , from my name fixed missleading error message for trac authentication error [FIXUP] 5.13.beta2: update git specific files 5.13.beta2 5.13.beta2 fixed import statement for the commandline interface fix doctest failure from bad merge conflict resolution ...
2 parents 2a08a44 + 094712a commit 7b61761

File tree

451 files changed

+34276
-39336
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

451 files changed

+34276
-39336
lines changed

.gitignore

+49
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,52 @@
44
/local
55
/logs
66
/upstream
7+
8+
###################
9+
# Temporary Files #
10+
###################
11+
12+
# Various editors
13+
*~
14+
15+
# Emacs
16+
\#*\#
17+
.\#*
18+
19+
# Vim
20+
*.s[a-w][a-z]
21+
*.un~
22+
.netrwhist
23+
24+
# PyCharm
25+
.idea
26+
.iml
27+
28+
# Eclipse
29+
*.pydevproject
30+
.project
31+
.metadata
32+
*.tmp
33+
*.bak
34+
*.swp
35+
*~.nib
36+
.classpath
37+
.settings/
38+
.loadpath
39+
.externalToolBuilders/
40+
.cproject
41+
.buildpath
42+
43+
# OSX specific temporary files
44+
.DS_Store
45+
._*
46+
.AppleDouble
47+
.LSOverride
48+
.Spotlight-V100
49+
.Trashes
50+
51+
# Windows
52+
$RECYCLE.BIN/
53+
54+
# SublimeText
55+
*.sublime-workspace

Makefile

+6
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ build: logs
2121
"tee -a ../logs/install.log"
2222
./sage -b
2323

24+
# Preemptively download all standard upstream source tarballs.
25+
download:
26+
export SAGE_ROOT=$$(pwd) && \
27+
export PATH=$$SAGE_ROOT/src/bin:$$PATH && \
28+
./src/bin/sage-download-upstream
29+
2430
# ssl: build Sage, and also install pyOpenSSL. This is necessary for
2531
# running the secure notebook. This make target requires internet
2632
# access. Note that this requires that your system have OpenSSL

VERSION.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Sage version 5.12.beta5, released 2013-09-06
1+
Sage version 5.13.beta2, released 2013-10-31

build/pkgs/atlas/SPKG.txt

+5
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,11 @@ The package can be configured via three environment variables:
9595

9696
== ChangeLog ==
9797

98+
=== atlas-3.10.1.p6, lapack-3.4.2 (Volker Braun, 11 October 2013) ===
99+
* Trac #15270: Do not give up if the upstream shared library build
100+
fails
101+
* Solaris / ZFS fixes
102+
98103
=== atlas-3.10.1.p5, lapack-3.4.2 (Volker Braun, 30 August 2013) ===
99104
* Trac #15045: Another workaround for shared library bug that does
100105
not involve static libraries

build/pkgs/atlas/package-version.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.10.1.p5
1+
3.10.1.p6

build/pkgs/atlas/spkg-install

+16-14
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ def configure(arch=None, isa_ext=None):
268268
print 'Running configure with arch = '+str(arch)+ \
269269
', isa extensions '+str(isa_ext), ' thread limit '+str(thread_limit)
270270
if os.path.isdir(BUILD_DIR):
271+
os.chdir(conf['SPKG_DIR']) # Solaris/ZFS can't delete cwd
271272
shutil.rmtree(BUILD_DIR)
272273
os.mkdir(BUILD_DIR)
273274
os.chdir(BUILD_DIR)
@@ -529,38 +530,39 @@ build_and_save_archdef()
529530
######################################################################
530531

531532
rc = make_atlas_library('shared')
532-
assert_success(rc, bad='Failed to install ATLAS single-threaded shared library',
533-
good='Installed ATLAS single-threaded shared library')
533+
if rc!=0:
534+
print 'Failed to build shared library (using the ATLAS build system)'
535+
else:
536+
print 'Installed ATLAS shared library (ATLAS build system)'
534537

535538
rc = make_atlas_library('ptshared')
536539
if rc!=0:
537-
print 'Failed to build threaded library, possibly because your'
538-
print 'system does not support it.'
540+
print 'Failed to build threaded library (using the ATLAS build system)'
539541
else:
540-
print 'Installed ATLAS multi-threaded shared library'
542+
print 'Installed ATLAS multi-threaded shared library (ATLAS build system)'
541543

542544

543545
######################################################################
544546
### configure and build atlas and lapack shared library hack
545547
######################################################################
546548

547549
rc = configure_shared_library()
548-
assert_success(rc, bad='Configuring shared ATLAS library failed.',
549-
good='Finished configuring shared ATLAS library.')
550+
assert_success(rc, bad='Configuring shared ATLAS library failed (libtool).',
551+
good='Finished configuring shared ATLAS library (libtool).')
550552

551553
have_serial_libs = False
552554
have_parallel_libs = False
553555

554556
rc = make_shared_library()
555557
if rc!=0:
556558
print 'Failed to build serial+parallel shared libraries, possibly because your'
557-
print 'system does not support both. Trying to build serial libraries only.'
559+
print 'system does not support both. Trying to build serial libraries only (libtool).'
558560
rc = make_shared_library('all_serial')
559561
if rc!=0:
560-
print 'Failed to build any shared library, installing static library as last resort.'
562+
print 'Failed to build any shared library, installing static library as last resort (libtool).'
561563
INSTALL_STATIC_LIBRARIES = True
562564
else:
563-
print 'Finished building serial shared ATLAS library.'
565+
print 'Finished building serial shared ATLAS library (libtool).'
564566
have_serial_libs = True
565567
else:
566568
have_parallel_libs = True
@@ -572,13 +574,13 @@ else:
572574

573575
if have_parallel_libs:
574576
rc = make_shared_library('install')
575-
assert_success(rc, bad='Installing the parallel+serial shared ATLAS library failed.',
576-
good='Finished installing parallel+serial shared ATLAS library.')
577+
assert_success(rc, bad='Installing the parallel+serial shared ATLAS library failed (libtool).',
578+
good='Finished installing parallel+serial shared ATLAS library (libtool).')
577579

578580
if have_serial_libs:
579581
rc = make_shared_library('install_serial')
580-
assert_success(rc, bad='Installing the serial shared ATLAS library failed.',
581-
good='Finished installing serial shared ATLAS library.')
582+
assert_success(rc, bad='Installing the serial shared ATLAS library failed (libtool).',
583+
good='Finished installing serial shared ATLAS library (libtool).')
582584

583585

584586
######################################################################

build/pkgs/boehm_gc/SPKG.txt

+9-7
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,7 @@ The Boehm-Demers-Weiser conservative garbage collector.
66

77
== License ==
88

9-
Permissive BSD + GPL 2.0+
10-
11-
== SPKG Maintainers ==
12-
13-
* William Stein
9+
* Permissive BSD + GPL 2.0+
1410

1511
== Upstream Contact ==
1612

@@ -23,10 +19,17 @@ None.
2319

2420
== Special Update/Build Instructions ==
2521

26-
None. Sources in src are vanilla.
22+
=== Patches ===
23+
* cygwin64.patch: let libgc build on Cygwin64.
2724

2825
== Changelog ==
2926

27+
=== boehm_gc-7.2d.p0 (Jean-Pierre Flori, 11 June 2013) ===
28+
* #14710: Update to version 7.2d.
29+
* Remove patches integrated upstream.
30+
* Add cygwin64.patch from Cygwin64 libgc package to let it build
31+
on Cygwin64.
32+
3033
=== boehm_gc-7.2.alpha6.p2 (Simon King, Dec 10 2011) ===
3134
* #12131: Use --libdir, to make the package work on openSUSE
3235

@@ -78,4 +81,3 @@ None. Sources in src are vanilla.
7881

7982
=== boehm_gc-7.1 (Gary Furnish) ===
8083
* Initial version
81-

build/pkgs/boehm_gc/checksums.ini

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
sha1=d2b73db75ea173ebd07a3ee04b4cd91e1af81eaf
2-
md5=1eee767e11296fb1b7d11d273fe072c7
3-
cksum=2375122679
1+
sha1=4013e5d6b685e1a3c7ff9b5447405a2b452731be
2+
md5=48232de5b36573da6415ece66a9b9084
3+
cksum=2689595432
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.2.alpha6.p2
1+
7.2d.p0
+104
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
--- a/include/gc.h 2012-08-09 16:25:13.000000000 -0400
2+
+++ b/include/gc.h 2013-04-22 13:10:01.101686000 -0400
3+
@@ -1385,7 +1385,14 @@
4+
/* THREAD_LOCAL_ALLOC defined and the initial allocation call is not */
5+
/* to GC_malloc() or GC_malloc_atomic(). */
6+
7+
-#ifdef __CYGWIN32__
8+
+#ifdef __CYGWIN__
9+
+#ifdef __x86_64__
10+
+ extern int __data_start__[], __data_end__[], __bss_start__[], __bss_end__[];
11+
+#define GC_DATASTART (__data_start__ < __bss_start__ ?\
12+
+ (void *)__data_start__ : (void *)__bss_start__)
13+
+#define GC_DATAEND (__data_end__ < __bss_end__ ?\
14+
+ (void *)__data_end__ : (void *)__bss_end__)
15+
+#else
16+
/* Similarly gnu-win32 DLLs need explicit initialization from the */
17+
/* main program, as does AIX. */
18+
extern int _data_start__[], _data_end__[], _bss_start__[], _bss_end__[];
19+
@@ -1393,6 +1400,7 @@
20+
(void *)_data_start__ : (void *)_bss_start__)
21+
# define GC_DATAEND (_data_end__ > _bss_end__ ? \
22+
(void *)_data_end__ : (void *)_bss_end__)
23+
+#endif
24+
# define GC_INIT_CONF_ROOTS GC_add_roots(GC_DATASTART, GC_DATAEND); \
25+
GC_gcollect() /* For blacklisting. */
26+
/* Required at least if GC is in a DLL. And doesn't hurt. */
27+
--- a/include/private/gcconfig.h 2012-08-09 16:25:13.000000000 -0400
28+
+++ b/include/private/gcconfig.h 2013-04-21 12:52:28.024399600 -0400
29+
@@ -432,10 +432,20 @@
30+
# endif
31+
# define mach_type_known
32+
# endif
33+
-# if defined(__CYGWIN32__) || defined(__CYGWIN__)
34+
+# if defined(__CYGWIN32__)
35+
# define I386
36+
# define CYGWIN32
37+
# define mach_type_known
38+
+#if defined(__CYGWIN__)
39+
+# if defined(__LP64__)
40+
+# define X86_64
41+
+# define mach_type_known
42+
+# else
43+
+# define I386
44+
+# endif
45+
+# define CYGWIN32
46+
+# define mach_type_known
47+
+#endif
48+
# endif
49+
# if defined(__MINGW32__) && !defined(mach_type_known)
50+
# define I386
51+
@@ -502,6 +512,16 @@
52+
# define mach_type_known
53+
# endif
54+
55+
+#if defined(__CYGWIN__)
56+
+# if defined(__LP64__)
57+
+# define X86_64
58+
+# define mach_type_known
59+
+# else
60+
+# define I386
61+
+# endif
62+
+# define CYGWIN32
63+
+# define mach_type_known
64+
+#endif
65+
/* Feel free to add more clauses here */
66+
67+
/* Or manually define the machine type here. A machine type is */
68+
@@ -2259,6 +2279,19 @@
69+
# define GWW_VDB
70+
# define DATAEND /* not needed */
71+
# endif
72+
+
73+
+# ifdef CYGWIN32
74+
+# define OS_TYPE "CYGWIN32"
75+
+# define DATASTART ((ptr_t)GC_DATASTART) /* From gc.h */
76+
+# define DATAEND ((ptr_t)GC_DATAEND)
77+
+# define ALIGNMENT 8
78+
+# undef STACK_GRAN
79+
+# define STACK_GRAN 0x10000
80+
+# ifdef USE_MMAP
81+
+# define NEED_FIND_LIMIT
82+
+# define USE_MMAP_ANON
83+
+# endif
84+
+# endif
85+
# endif /* X86_64 */
86+
87+
# ifdef HEXAGON
88+
--- a/os_dep.c 2012-08-09 16:25:13.000000000 -0400
89+
+++ b/os_dep.c 2013-04-22 12:43:32.202498600 -0400
90+
@@ -770,7 +770,14 @@
91+
/* gcc version of boehm-gc). */
92+
GC_API int GC_CALL GC_get_stack_base(struct GC_stack_base *sb)
93+
{
94+
+# ifdef __x86_64__
95+
+ PNT_TIB pTib = NtCurrentTeb();
96+
+ void * _tlsbase = pTib->StackBase;
97+
+ /*void * _tlsbase = NtCurrentTeb()->pTib.StackBase;*/
98+
+ /*extern void * _tlsbase __asm__ ("%gs:8");*/
99+
+# else
100+
extern void * _tlsbase __asm__ ("%fs:4");
101+
+# endif
102+
sb -> mem_base = _tlsbase;
103+
return GC_SUCCESS;
104+
}

build/pkgs/boehm_gc/patches/x86.patch

-49
This file was deleted.

0 commit comments

Comments
 (0)