Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] build on arch linux #1141

Open
wants to merge 3,689 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3689 commits
Select commit Hold shift + click to select a range
829f6a9
enable test_cmath
Daetalus Dec 4, 2015
199448f
make more obvious where we call computeCFG
undingen Dec 4, 2015
ff657c1
Merge pull request #1011 from undingen/new_frame_intro2
undingen Dec 4, 2015
6736057
Don't generate patchpoints for calls to fixed functions which don't n…
undingen Nov 24, 2015
bca915e
Define i1 as int64 and rename it to llvm_compat_bool
undingen Dec 1, 2015
456866d
Generate better code by using the default regalloc (greedy)
undingen Dec 3, 2015
3d553b4
Don't inline allowGLReadPreemption() in the llvm tier
undingen Dec 3, 2015
bf2bae9
Merge pull request #1021 from undingen/new_frame_intro3
undingen Dec 4, 2015
bd36110
Merge pull request #1023 from Daetalus/test_cmath
kmod Dec 9, 2015
fa87f0b
Fix fastLocalsToBoxedLocals()
undingen Dec 14, 2015
495c228
Fix issue where our c++ exception unwinding code would sometimes skip…
undingen Dec 14, 2015
9266653
Merge pull request #1032 from undingen/fix_unwind
kmod Dec 14, 2015
9d0fc1f
Allow subclassing classmethod and staticmethod
undingen Dec 17, 2015
c0222dd
Fix #599 by allowing subclasses of string and unicode in sys.path
KoykL Dec 22, 2015
65388a2
Add tests for issue #599
KoykL Dec 24, 2015
9e4d6ae
Micro optimization on 'gc_invalidateOrderedFinalizerList'
corona10 Dec 29, 2015
4a26170
fix issue #596 'slice is not subclassable'
corona10 Dec 27, 2015
7fc3720
Merge pull request #1038 from corona10/types
undingen Jan 4, 2016
7e58677
Merge pull request #1037 from LoyukiL/sys_path_unicode
undingen Jan 4, 2016
e798f40
Merge pull request #1039 from corona10/finalizer
undingen Jan 4, 2016
fcefe94
Disable lxml objectify tests because they depend on refcounting GC be…
undingen Dec 17, 2015
cc5f4cd
Fix crash inside BoxedGenerator::gcHandler
undingen Jan 6, 2016
110eaae
Merge pull request #1041 from undingen/gen_gc_fix
undingen Jan 6, 2016
8f6c8e4
add PyGC_AddPotentialRoot
undingen Jan 7, 2016
b3bacb8
Merge pull request #1043 from undingen/AddPotentialRoot
undingen Jan 7, 2016
1cac93a
copy cpython's files to pyston
Jan 4, 2016
3265720
apply pyston changes to make PyErr_WarnEx could work
Jan 7, 2016
d4e924b
add warning tests
Jan 7, 2016
2526c94
Merge pull request #1029 from Daetalus/pyerr_warnex
undingen Jan 7, 2016
1ebb95b
add missing attributes to complex and adjust some API
Jan 8, 2016
fb612f8
add some tests to complex
Jan 8, 2016
e98abcb
Merge pull request #1040 from Daetalus/complex_improvements_2
undingen Jan 11, 2016
25847f9
implement attrwrapper.has_key
undingen Jan 6, 2016
fbb9c67
Don't overwrite empty tp_new when type is inheriting from object
undingen Jan 6, 2016
fcbfaa7
add original dict object implementation
undingen Jan 6, 2016
2e55491
use cpython dictview types and create separate types for the differen…
undingen Jan 6, 2016
144780d
getset.__get__ add default arg
undingen Jan 6, 2016
f1e9b55
Merge pull request #1042 from undingen/minor_compat
undingen Jan 11, 2016
5cfcc4e
add missing int attributes compared with CPython
Jan 8, 2016
d6f595d
add missing float attributes and tests
Jan 11, 2016
2a1efab
add missing long attributes compared with CPython and also with tests
Jan 11, 2016
91517da
Pyston current frame introspection mechanism does not support OSR fra…
Jan 11, 2016
3267a57
support type(name, bases, dict) where dict has non str keys
undingen Jan 11, 2016
9216f61
Merge pull request #1030 from Daetalus/numeric_fixing
undingen Jan 11, 2016
daaac1b
Merge pull request #1044 from undingen/minor_compat2
undingen Jan 11, 2016
2ece9e4
add slighty modified dictview test from cpython
undingen Jan 11, 2016
5fd4fe6
Merge pull request #1045 from undingen/add_missing_test
undingen Jan 12, 2016
a3d1cbb
Don't abort when generating a call of a known type which is not calla…
undingen Jan 12, 2016
19c72a9
Don't abort when generating code for a __getitem__ on a known type wh…
undingen Jan 12, 2016
4ae4660
Merge pull request #1047 from undingen/call_type_analysis
undingen Jan 12, 2016
78ab386
Merge pull request #1034 from undingen/classmethod_sub
undingen Jan 12, 2016
10695f5
enable CPython's _ast module and use cpython's parser in builtin
aisk Jan 9, 2016
6b57308
Merge pull request #983 from aisk/ast
undingen Jan 12, 2016
d21b098
Correctly align pointers inside registerPotentialRootRange
undingen Jan 12, 2016
a428545
Merge pull request #1049 from undingen/align_root_range
undingen Jan 12, 2016
15f7a88
Add a modified version of cpythons ast test
undingen Jan 12, 2016
3a81033
Merge pull request #1048 from undingen/ast_test
undingen Jan 12, 2016
c00a745
compile: Don't check for ''break' outside loop' error when in AST onl…
undingen Jan 13, 2016
3e2b8eb
imp.find_module should not call into sys.meta_path & sys.path_hook
undingen Jan 13, 2016
3b0e42e
handle duplicate PyType_Ready call
undingen Jan 13, 2016
606f866
compile: allow empty filename
undingen Jan 13, 2016
ca40452
PyFrame_GetGlobals: Don't return a copy of the globals
undingen Jan 13, 2016
e70d720
Merge pull request #1052 from undingen/pytest_fixes
undingen Jan 13, 2016
0610a91
switch to CPython parser
Jan 13, 2016
ffcf69c
Merge pull request #1051 from undingen/ast_fix
undingen Jan 14, 2016
2645311
Merge pull request #1053 from Daetalus/cpython_parser
undingen Jan 14, 2016
0024566
Use our interned ints more often (especially for constants specified …
undingen Jan 14, 2016
c5b1449
Merge pull request #1055 from undingen/reuse_int_constants
undingen Jan 14, 2016
3208636
Remove outdated NumPy patches.
rudi-c Nov 15, 2015
dd5cdc5
Add code to run the NumPy test suite.
rudi-c Nov 19, 2015
df8cac1
CAPI exception case in converting long to double.
rudi-c Nov 19, 2015
06339b3
Handle checks of string padding functions better.
rudi-c Nov 19, 2015
099b2b9
Loosen type annotation to allow NotImplemented.
rudi-c Dec 10, 2015
b3fa2c0
Test case for future division which NumPy uses.
rudi-c Nov 19, 2015
8e53b6b
Prevent segmentation fault when get/set are NULL.
rudi-c Dec 10, 2015
3790b47
Add assertion on returning with exceptions.
rudi-c Nov 20, 2015
33e1028
Update NumPy patch file with new fixes.
rudi-c Nov 20, 2015
1d9e4b0
Register gc handler of capi_getset_cls
undingen Jan 18, 2016
ad0315d
Merge pull request #1057 from undingen/numpy_test2_smallfix
undingen Jan 18, 2016
2391467
enable PyStringObject: we use now the same layout as cpython
undingen Jan 18, 2016
0e058b9
allow calling PyType_Ready on already registered pyston types
undingen Jan 18, 2016
316a4f1
Remove some of the workarounds inside the numpy patch
undingen Jan 18, 2016
66cbe50
Merge pull request #1059 from undingen/cleanup_numpy
undingen Jan 19, 2016
85643b7
getiter(): don't ignore CAPI exception and add file.encoding
undingen Jan 15, 2016
c178fbe
add an avro integration test
undingen Jan 19, 2016
b0991a7
Merge pull request #1056 from undingen/file_fixes
undingen Jan 19, 2016
9608038
Fix int(None)
undingen Jan 20, 2016
ccf53aa
Fix assert when accessing _ attribute
undingen Jan 18, 2016
9dec82e
list.extend returns None
undingen Jan 18, 2016
e9152be
Merge pull request #1062 from undingen/minor_compat3
undingen Jan 20, 2016
6e17f0e
add nonzero attributes to NotImplemented class
Jan 18, 2016
24e0f10
loosen the type check
Jan 20, 2016
f6760ac
enable PyErr_WarnEx and this PR could remove this modifcations
Jan 20, 2016
681c967
Add formencode test
undingen Jan 18, 2016
f8fa6b3
Fix long(None)
undingen Jan 20, 2016
93114e3
Remove dead float format code
undingen Jan 21, 2016
91cd46b
Merge pull request #1060 from Daetalus/numpy_fixing_1
undingen Jan 21, 2016
40dbeb0
_getattrEntry(): fix an error where we would fail to raise a CAPI exc…
undingen Jan 21, 2016
eb3b273
Merge pull request #1063 from undingen/minor_compat4
undingen Jan 21, 2016
5aabdb3
imp.load_module has to always set __file__ even if the module already…
undingen Jan 22, 2016
589e6a6
Ban creating instances of None
undingen Jan 22, 2016
23b021d
Allow changing the name of types which have a different metaclass tha…
undingen Jan 22, 2016
a32e3a4
Merge pull request #1066 from undingen/minor_compat5
undingen Jan 22, 2016
02bd71a
Merge pull request #1035 from undingen/disable_lxml_objectify_tests
kmod Jan 25, 2016
cc9c6ee
llvm tier: reduce scratch size
undingen Dec 7, 2015
189c7ac
Merge pull request #1025 from undingen/pp_stack
undingen Jan 25, 2016
348ca12
Switch to /bin/sh for portability
tony Jan 25, 2016
055c8c1
Search for gmake and make when building
tony Jan 25, 2016
fc5bd37
Make some built-in types not to be subclassable
corona10 Jan 19, 2016
c2f6b99
EH frame: use a single allocation for the EH frame + generated code
undingen Jan 25, 2016
2658715
Merge pull request #1061 from corona10/subclass
undingen Jan 25, 2016
a16473c
Small fixes for Flask
corona10 Jan 26, 2016
ed9fbdc
fix docs/UNWINDING.md
corona10 Jan 28, 2016
87602cc
Merge pull request #1078 from corona10/docs
undingen Jan 28, 2016
2e19356
Merge pull request #1076 from corona10/flask
undingen Jan 28, 2016
a8a1491
sysconfig: adjust paths
undingen Jan 28, 2016
523ecd6
Merge pull request #1072 from tony/remove-bashisms
kmod Jan 29, 2016
068a3de
Merge pull request #1073 from tony/gmake
kmod Jan 29, 2016
7fb8d1d
implement tb_lineno of Traceback
corona10 Jan 28, 2016
3d4463b
Merge pull request #1079 from corona10/traceback
undingen Jan 29, 2016
67e3070
Merge pull request #1075 from undingen/eh_offset
kmod Jan 29, 2016
1f0e67c
Add missing runtime/inline include dependence
kmod Jan 29, 2016
10b4b95
Merge pull request #1081 from kmod/python_h
undingen Jan 29, 2016
e401bf9
Remove pyston changes inside traceback.py
undingen Nov 10, 2015
bcd4fbc
Remove pyston changes inside logging/__init__.py
undingen Jan 19, 2016
9c7e930
llvm jit: Always store current statement inside the frame info
undingen Dec 17, 2015
f770d00
add frame intospection for exited frames
undingen Dec 17, 2015
30d4519
Merge pull request #1031 from undingen/exited_frame_inspect
kmod Jan 29, 2016
dda4b74
* quick fix for issue #1083
corona10 Jan 30, 2016
70ccda6
Update libpypa dep
tony Jan 30, 2016
f11cb87
Merge pull request #1085 from tony/posix-gmp
kmod Jan 31, 2016
0d4ecef
fix and add test
corona10 Jan 31, 2016
0a34c2a
Merge pull request #1080 from undingen/fix_paths
undingen Feb 1, 2016
9eabc93
Fix cpython parser bool operation conversion
undingen Feb 1, 2016
beb17b5
Set _PYSTON_API inside our build system instead of setting it when we…
undingen Jan 29, 2016
8eeac27
Don't export the syms of our c++ exception handling implementation
undingen Jan 29, 2016
b28222d
Add a libsass integration test
undingen Jan 29, 2016
8c850f6
Merge pull request #1084 from corona10/fix
kmod Feb 2, 2016
d98960b
Merge pull request #1086 from undingen/fix_boolop_parsing
kmod Feb 2, 2016
dc49df1
Merge pull request #1058 from undingen/formencode
undingen Feb 2, 2016
28c0c4b
Add signal support
undingen Nov 23, 2015
f6370b8
Mention automake in the dependencies
d33tah Feb 3, 2016
dc91299
Merge pull request #1026 from undingen/signal_handling6
undingen Feb 3, 2016
e3205e3
Merge pull request #1087 from d33tah/patch-1
kmod Feb 3, 2016
9b5137b
object.__setattr__ convert unicode strings
undingen Feb 2, 2016
1102c45
fix getclsattr
undingen Feb 2, 2016
3099a9c
intern ints from -5 to 256 like cpython does
undingen Jan 15, 2016
71221ac
add sys._current_frames
undingen Feb 2, 2016
3307a63
remove outdated workarounds inside test_support
undingen Feb 5, 2016
61c4783
fix test_fileio
undingen Feb 5, 2016
dce102f
super: add descriptor
undingen Feb 8, 2016
c13bfd1
Merge pull request #1089 from undingen/minor_compat6
kmod Feb 8, 2016
8cf264f
add original cpython fileobject.c
undingen Feb 5, 2016
550e52e
switch to cpythons fileobject implementation
undingen Jan 15, 2016
dcd7680
cleanup print code and enable cpython test
undingen Feb 5, 2016
e51a803
Increase travis CI timeout to 30min
undingen Feb 9, 2016
1f4a1b0
Merge pull request #1090 from undingen/cpython_file
undingen Feb 9, 2016
1caf637
enable working cpython tests
undingen Feb 9, 2016
f5c37a0
Merge pull request #1092 from undingen/cpython_tests
undingen Feb 9, 2016
01fb5d0
don't crash when deleting nonexisting instance attributes
undingen Feb 9, 2016
d98f6eb
Make bool logical ops more similar to cpythons
undingen Feb 9, 2016
f372724
signals: ignore signal pipe like cpython does
undingen Feb 10, 2016
e46c059
socket: workaround socket close problem
undingen Feb 10, 2016
8d00109
list_contains: fix exception api mismatch
undingen Feb 9, 2016
cfa81fb
super: don't assert on nonexisting attributes
undingen Feb 10, 2016
11522d5
Merge pull request #1095 from undingen/minor_compat7
kmod Feb 10, 2016
707fd32
Make the pycrypto integration test run the testsuite
undingen Feb 10, 2016
076a788
This work, I just forgot to remove them from the list
undingen Feb 10, 2016
6f42391
Merge pull request #1094 from undingen/pycrypto_test
undingen Feb 11, 2016
214c857
add the _locale module
undingen Feb 11, 2016
fab69cb
enable sax test
undingen Feb 11, 2016
f354f1c
add the cPickle module
undingen Feb 12, 2016
0ae4634
Merge pull request #1098 from undingen/locale
kmod Feb 13, 2016
831c8d1
Merge pull request #1093 from undingen/socket_fixes
kmod Feb 13, 2016
5e64050
Merge pull request #1082 from undingen/sass
kmod Feb 13, 2016
724f1ca
add cpython traceback
undingen Dec 15, 2015
0d4b2bd
switch to cpythons traceback implementation
undingen Feb 13, 2016
79eea22
Assign allocation function directly to tp_new.
rudi-c Nov 20, 2015
35ddf8d
Merge pull request #1091 from undingen/cpython_traceback2
kmod Feb 13, 2016
22f1e43
Directly use cpythons errors.c file
corona10 Feb 14, 2016
2e2456b
Merge pull request #1101 from corona10/error
undingen Feb 15, 2016
d092b31
Add a ReturnConvention for getattrs that can C++ throw
kmod Feb 16, 2016
c437b01
Merge pull request #1102 from kmod/getattr_exception_rewriting
kmod Feb 17, 2016
c90c9b1
add cpythons import.c and importdl.h
undingen Feb 17, 2016
2d0eaa3
use cpythons 'import' implementation
undingen Feb 17, 2016
a386433
Fix rare problem when deleting attributes of oldstyle classes
undingen Feb 18, 2016
875432d
Merge pull request #1105 from undingen/import
kmod Feb 18, 2016
9efb435
Call PyType_Modified() in add_operators
kmod Feb 18, 2016
d6d10b7
add hash attr to dict object
Feb 19, 2016
39b72d9
Merge pull request #1106 from kmod/add_operators_typemodified
undingen Feb 19, 2016
101ea57
create a unidecode integration test and enable test_imp
undingen Feb 19, 2016
56ec26a
Merge pull request #1107 from undingen/unidecode_test
undingen Feb 21, 2016
bc336b7
throw exception in list multiply only if the second op is indexable, …
Feb 22, 2016
005eac2
in tuple operation, if the op type check failed, return NotImplemente…
Feb 22, 2016
34288cf
Switch to pathscale libunwind github mirror
undingen Feb 22, 2016
16d32ac
add reload() and a integration test for simplejson
undingen Feb 21, 2016
c1f25c3
Merge pull request #1110 from undingen/simplejson_test
kmod Feb 22, 2016
68b2ed7
Merge pull request #1054 from Daetalus/sequence_fixing
kmod Feb 22, 2016
b303820
add GeopIP integration test and use cpythons do_mkvalue
undingen Feb 23, 2016
435cf87
fix a bunch of bugs which showed up in test_builtin.py
undingen Feb 23, 2016
81d6156
enumerate: add long counter support
undingen Feb 24, 2016
c926866
Merge pull request #1112 from undingen/geoip_test
undingen Feb 24, 2016
5501fb3
cleanup the eval and exec implementation
undingen Feb 23, 2016
9935ce5
Merge pull request #1028 from rudi-c/tp_new
undingen Feb 25, 2016
db7d658
add __abstractmethods__ to type object
Feb 25, 2016
f59de3f
Update copyright to 2016
undingen Feb 25, 2016
0535bf7
Merge pull request #1116 from undingen/copyright_2016
kmod Feb 26, 2016
0b79eb2
address minor comment from #1028
undingen Feb 25, 2016
51d5016
Merge pull request #1115 from undingen/cleanup_1028
undingen Feb 26, 2016
85791df
Assign allocation function directly to tp_new.
rudi-c Nov 20, 2015
ea191e1
Update copyright to 2016
undingen Feb 25, 2016
b791a4e
address minor comment from #1028
undingen Feb 25, 2016
5465d26
add parser module
undingen Feb 27, 2016
240a82f
update CPython test files by using Python 2.7.7 test file and enable …
Feb 25, 2016
f8ea2ba
Merge pull request #1118 from undingen/parser_module
kmod Feb 29, 2016
a7b4d66
Merge pull request #960 from Daetalus/test_collections
kmod Feb 29, 2016
de3288f
fixes for CFFI and add an integration test for it
undingen Feb 22, 2016
bff9936
ctypes: workaround unaligned pointer crash with clang 3.5
undingen Mar 1, 2016
b025397
Merge pull request #1114 from undingen/cffi_test
undingen Mar 1, 2016
be2d285
enable our paste integration test and add one for pylons and routes
undingen Feb 26, 2016
c6c4356
fix some string CAPI exception mismatches
undingen Mar 1, 2016
f15399e
Merge pull request #1119 from undingen/paste_test
undingen Mar 1, 2016
98dfb53
ExcInfo: don't set traceback to None instead use NULL
undingen Mar 2, 2016
74f7ff8
tracebacks: implement PyFrame_New and PyCode_New / custom traceback e…
undingen Feb 27, 2016
75bd105
Merge pull request #1117 from undingen/custom_tb
kmod Mar 5, 2016
9b30997
call threading._after_fork and threading._shutdown, return real threa…
undingen Mar 2, 2016
1904ef8
fix thread.error pickling
undingen Mar 8, 2016
ca7c5b8
fix attrwrapper of an object which becomes dict backed and support no…
undingen Mar 3, 2016
e14f5cd
binop: if the rhs is a subclass of the lhs, call into the reverse op …
undingen Feb 21, 2016
4f3885c
Merge pull request #1120 from undingen/threading_fixes
kmod Mar 10, 2016
0f1eb42
Merge pull request #1109 from undingen/binop_subclass
kmod Mar 10, 2016
641bb65
check duplicate function params
aisk Feb 17, 2016
31aba47
Merge pull request #1103 from aisk/test_compile
undingen Mar 11, 2016
82c676a
bjit: don't directly do a OSR from the bjit
undingen Mar 11, 2016
b77872e
bjit: microptimization use r13 instead of r12 for the interpreter poi…
undingen Mar 11, 2016
4578828
Merge pull request #1121 from undingen/bjit_exc_fix2
undingen Mar 11, 2016
7b94186
Merge pull request #1122 from undingen/bjit_r12_r13
undingen Mar 12, 2016
b00e7a9
llvm tier: call deinitFrame when in CAPI mode and returning an exception
undingen Mar 14, 2016
f60d577
unwinder: fix 'isDeopt' check
undingen Mar 14, 2016
ac7fe90
Update section ordering
undingen Mar 15, 2016
9a8eaf0
Merge pull request #1123 from undingen/exc_capi_problem
undingen Mar 15, 2016
b830092
deopt: support deserializing instance methods
undingen Mar 16, 2016
83f56df
Merge pull request #1124 from undingen/instmeth_deopt
undingen Mar 16, 2016
9402048
add __format__ function to long object
Feb 16, 2016
eef06d7
Fix a llvm-tier getiter() bug
kmod Mar 26, 2016
bf7972d
Merge pull request #1126 from kmod/unicode_iteration
kmod Mar 28, 2016
2a3b70e
return NotImplemented in intXXXFloat for float subtypes
Apr 18, 2016
7819995
let floatNew behavouir like CPython's
Apr 18, 2016
3ec9cf9
Merge pull request #1064 from Daetalus/numpy_fixing_2
undingen Apr 18, 2016
0a6e430
use python2 binary in build process
aisk Apr 23, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
29 changes: 27 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
build

Makefile.local
tools/astprint
tools/demangle
tools/mcjitcache
tools/mcjitcache_release
tools/publicize
tools/publicize_release

pyston
pyston_opt
pyston_noasserts
Expand All @@ -15,9 +19,17 @@ pyston_debug
pyston_prof
pyston_profile
pyston_release
pyston_grwl
pyston_grwl_dbg
pyston_nosync
pyston_gcc
pyston_release_gcc
pyston_release_gcc_pgo
pyston_release_gcc_pgo_instrumented
pystontmp*/
/*_unittest

*.cache
tests/t.py
tests/t2.py
*.bc
stdlib.ll
*.o
Expand All @@ -28,6 +40,7 @@ stdlib*.ll
oprofile_data
pprof.jit
tags
TAGS
*.pyc

perf.data
Expand All @@ -38,4 +51,16 @@ gmon.out
find_problem.status
*.expected_cache

plugins/clang_capi

*.so
*.pch

compile.log

*.swp
*.swo

*.out

*~
46 changes: 46 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
[submodule "test/lib/django"]
path = test/lib/django
url = https://github.com/django/django
[submodule "test/lib/virtualenv"]
path = test/lib/virtualenv
url = https://github.com/dropbox/virtualenv
[submodule "test/lib/pycrypto"]
path = test/lib/pycrypto
url = https://github.com/dlitz/pycrypto.git
[submodule "test/lib/gflags"]
path = test/lib/gflags
url = https://github.com/google/python-gflags
ignore = untracked
[submodule "test/lib/sqlalchemy"]
path = test/lib/sqlalchemy
url = https://github.com/zzzeek/sqlalchemy
[submodule "test/lib/pyxl"]
path = test/lib/pyxl
url = https://github.com/dropbox/pyxl.git
ignore = untracked
[submodule "build_deps/libunwind"]
path = build_deps/libunwind
url = https://github.com/pathscale/libunwind.git
ignore = all
[submodule "build_deps/libpypa"]
path = build_deps/libpypa
url = git://github.com/vinzenz/libpypa.git
[submodule "build_deps/lz4"]
path = build_deps/lz4
url = git://github.com/Cyan4973/lz4.git
[submodule "build_deps/jemalloc"]
path = build_deps/jemalloc
url = git://github.com/jemalloc/jemalloc.git
[submodule "test/lib/numpy"]
path = test/lib/numpy
url = https://github.com/numpy/numpy
[submodule "test/lib/decorator"]
path = test/lib/decorator
url = https://github.com/micheles/decorator
[submodule "test/lib/pyinotify"]
path = test/lib/pyinotify
url = https://github.com/seb-m/pyinotify.git
[submodule "test/lib/sqlalchemy_0.5"]
path = test/lib/sqlalchemy_0.5
url = https://github.com/zzzeek/sqlalchemy
ignore = untracked
91 changes: 91 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
language: cpp

compiler:
- clang
- gcc

env:
matrix:
- TRAVIS_BUILD_TYPE=Debug CCACHE_DIR=$HOME/.ccache_debug
- TRAVIS_BUILD_TYPE=Release CCACHE_DIR=$HOME/.ccache_release
global:
- PYSTON_RUN_ARGS=G

matrix:
exclude:
- compiler: gcc
env: TRAVIS_BUILD_TYPE=Debug CCACHE_DIR=$HOME/.ccache_debug

# use travis-ci docker based infrastructure
sudo: false

cache:
directories:
- $HOME/.ccache_debug
- $HOME/.ccache_release

addons:
apt:
sources:
- kubuntu-backports
- llvm-toolchain-precise-3.5
- ubuntu-toolchain-r-test
packages:
- autoconf
- ccache
- clang-3.5
- cmake
- g++-4.8
- gdb
- libbz2-dev
- libgeoip-dev
- libgmp3-dev
- libmpfr-dev
- liblzma-dev
- libncurses5-dev
- libreadline-dev
- libsqlite3-dev
- libtool
- ninja-build
- python-dev
- texlive-extra-utils
- libcurl4-openssl-dev
- libxml2-dev
- libxslt1-dev
- libssl-dev
- swig

before_install:
- if [ "$CC" = "clang" ]; then export CC="clang-3.5" CXX="clang++-3.5"; fi
- if [ "$CC" = "gcc" ]; then export CC="gcc-4.8" CXX="g++-4.8"; fi
- $CXX --version

install:
- git clone git://github.com/llvm-mirror/llvm.git ~/pyston_deps/llvm-trunk
- git clone git://github.com/llvm-mirror/clang.git ~/pyston_deps/llvm-trunk/tools/clang
- git config --global user.email "you@example.com"
- git config --global user.name "Your Name"
- git submodule update --init --recursive
- mkdir ~/pyston-build && cd ~/pyston-build
- make -C $TRAVIS_BUILD_DIR llvm_up
- bash $TRAVIS_BUILD_DIR/tools/configure_travis.sh

before_script:
- mysql -e 'create database mysqldb_test charset utf8;'

script:
- ccache -z
- ninja -j4 pyston check-deps && PYSTON_RUN_ARGS=G travis_wait 45 ctest --output-on-failure
- ccache -s
- if [ -n "$(git status --porcelain --untracked=no)" ]; then echo "test suite left the source directory dirty"; git status; false; fi

os:
- linux
# - osx

notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/7256425a36658faa8b9b
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
8 changes: 8 additions & 0 deletions .vimrc.dir
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
set wildignore+=*.expected_cache,*.pyc,*.out,*.bc,*.d,*.o

let g:pyston_top = expand('<sfile>:p:h')
command! M execute ":make -C " . g:pyston_top . "/src -j1 COLOR=0 USE_DISTCC=0"
command! L execute ":cfile " . g:pyston_top . "/src/compile.log"

ca m M
ca l L
Loading