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]Some other building issue #1364

Open
wants to merge 4,868 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4868 commits
Select commit Hold shift + click to select a range
4d4d78a
Merge pull request #1280 from undingen/slice_lookup
undingen Jul 8, 2016
34d5d93
Add list tp_as_mapping for issue #1197
Jul 9, 2016
6a6d74f
add tp_as_mapping slots for str & tuple.
Jul 9, 2016
9ac97a1
Support attrwrapper as globals argument to execfile
kmod Jul 11, 2016
10f9ec7
Make pyc_stress_test shorter
kmod Jul 11, 2016
37fa8a9
Merge pull request #1289 from kmod/execfile_globals
kmod Jul 11, 2016
ef00782
Merge pull request #1287 from sizeoftank/work_tp_as_mapping_issue1197
kmod Jul 11, 2016
2208749
VRegSet: use a llvm bitvector as representation
undingen Jul 8, 2016
7044c24
Merge pull request #1291 from undingen/bitvector
kmod Jul 11, 2016
62ac9c8
Don't require annotating explicit null pointers
kmod Jul 11, 2016
b00a768
Fix unexpected-AttributeError-when-importing
kmod Jul 12, 2016
229ef9b
Fix disabling of pyopenssl test
kmod Jul 12, 2016
f075558
Merge pull request #1292 from kmod/scipy
kmod Jul 12, 2016
87edc34
str does not have an __iter__
kmod Oct 6, 2015
f0a2338
Optimize seq_iter protocol
kmod Jul 12, 2016
c7640dc
loose the dummy code object check
Jul 8, 2016
2190118
Add argument check for PyDict_Next
Jul 13, 2016
dfd5366
Make unboxed seqiter functions available
kmod Jul 13, 2016
a597d1b
Update Cython from 0.22 to 0.24
Jul 13, 2016
8818130
Rename numpy_test to scipy_test and add scipy test suite.
Jul 14, 2016
9b6e419
When build scipy, do not enable implicit-function-declaration
Jul 14, 2016
3489a0a
Merge pull request #1286 from Daetalus/scipy_fixing5_nexedi
undingen Jul 14, 2016
50552a0
assembler: fix cmp encoding
undingen Jul 5, 2016
3959924
assembler: fix movsd(Indirect src, XMMRegister dest) encoding
undingen Jul 12, 2016
dc1e134
assembler: (%rbp) must be encoded as 0(%rbp)
undingen Jul 13, 2016
6a90c79
bjit: better hasnext handling
undingen Jun 30, 2016
a0b7020
unwinding: libunwind expects dwarf reg numbers
undingen Jul 13, 2016
f0e39c1
bjit: use a bitset for register tracking in the rewriter and use r12,…
undingen Jun 17, 2016
5c0d56b
bjit: args in the entry block are non null + pass info on to successo…
undingen Jul 11, 2016
2e78077
Merge pull request #1290 from undingen/bjit_opt8
undingen Jul 14, 2016
14ab985
Turn off flaky formencode test
kmod Jul 14, 2016
57acfd0
One more test is passing here
kmod Jul 14, 2016
d375dfd
Merge pull request #1293 from kmod/str_iter
kmod Jul 14, 2016
b9ab979
docker: we are now using cython 0.24 + update readme for 0.5.1 release
undingen Jul 14, 2016
abb4b13
Merge pull request #1295 from undingen/release051
undingen Jul 14, 2016
fc7e22e
Bump version numbers
undingen Jul 14, 2016
ea8cd1d
Merge pull request #1296 from undingen/bump_06
undingen Jul 14, 2016
536fd62
Add missing build_docker.sh
kmod Jul 15, 2016
b4b69eb
fix duplicate docker builds
kmod Jul 15, 2016
ae07536
forgot to update this version number
undingen Jul 15, 2016
0c37fa0
Add sq_slots & mp_slots to instance (issue #1197)
Jul 13, 2016
3dc94a1
str: use cpythons [r]partition
undingen Jul 18, 2016
f71d5b3
Merge pull request #1299 from undingen/fix_unicode_partition
undingen Jul 18, 2016
6a33d15
Merge pull request #1294 from sizeoftank/pr_instance_sqslots_mpslots_…
undingen Jul 18, 2016
8c5a865
implement tp_str and tp_repr for more of our builtin types
undingen Jun 8, 2016
7625b86
Have function.func_globals always be dict-like
kmod Jul 19, 2016
5e33fe6
use runtime ic inside slot_tp_repr and slot_tp_str
undingen Jul 18, 2016
2386a30
Fix extra nonzero call for chained comparisons #1190
Jul 14, 2016
ffa3301
Update test expected counts
kmod Jul 19, 2016
d150b6e
Merge pull request #1300 from kmod/func_globals
kmod Jul 19, 2016
48ec63a
Merge pull request #1243 from undingen/tp_str
undingen Jul 20, 2016
631bd89
add the _bisect module
undingen Jul 15, 2016
ceb3eb5
fill in a few frequently accessed numeric and rich comparison slots
undingen Jul 15, 2016
2974bf3
better __init__ handling for set and frozenset
undingen Jul 18, 2016
349c4d4
always_use_version support CAPI and CXX
undingen Jul 18, 2016
ea2dec6
Merge pull request #1305 from undingen/small_optimizations
undingen Jul 20, 2016
bd338c9
Rename pure None to pyston_None, and use Py_None as much as possible.
Jul 20, 2016
a11792b
Add ignore_enviroment attribute to sys.flags
Jul 20, 2016
5336595
This test is passed
Jul 20, 2016
3e64ec6
long: dealloc gmp memory
undingen Jul 20, 2016
513bc9b
Merge pull request #1303 from Daetalus/Py_None
undingen Jul 20, 2016
d7fa6e8
Merge pull request #1307 from undingen/fix_long_leak
kmod Jul 21, 2016
40fa7ef
remove generator pushing code
undingen Jul 20, 2016
99719a4
Merge pull request #1301 from sizeoftank/compare_ordering_issue1190
kmod Jul 21, 2016
d9b5310
generator: reduce number of c++ exceptions
undingen Jul 15, 2016
82c402a
Merge pull request #1306 from undingen/generator_opt
undingen Jul 22, 2016
cd29133
add abstract.c and sliceobject.c from cpython
aisk Jun 14, 2016
57c801a
use abstract.c from cpython instead of abstract.cpp
aisk Jun 14, 2016
2741096
Merge pull request #1249 from aisk/cpython-abstract
undingen Jul 27, 2016
2bdc898
Some updates in test
Jul 29, 2016
d84105f
Copy listobject.c from CPython 2.7
Jul 29, 2016
6b0f785
use PyObject_Format from abstract.c
aisk Jul 30, 2016
c7b8aa6
using cpython's `sys.flags` inplementation
aisk Jul 31, 2016
b80e9dc
Support empty lines on the repl
kmod Aug 1, 2016
586a8c6
Merge pull request #1313 from kmod/repl_empty
kmod Aug 1, 2016
10911d6
Merge pull request #1312 from aisk/sys_flags
kmod Aug 2, 2016
7895da8
fixes #1191 evaluation order for dict operations.
Aug 2, 2016
84b0c7b
Merge pull request #1311 from aisk/pyobject_format
undingen Aug 2, 2016
747c0ad
Merge pull request #1302 from sizeoftank/literals_order_issue1191
kmod Aug 2, 2016
cffc1b8
hidden classes: split into subclasses to reduce memory consumption
undingen Aug 2, 2016
2713ecf
Merge pull request #1314 from undingen/hiddenclass_opt
kmod Aug 2, 2016
5d616f0
Update to fewer-pyston-changes virtualenv
kmod Jul 20, 2016
e21a0dc
Merge pull request #1315 from kmod/virtualenv
kmod Aug 2, 2016
75f70a6
ScopeNameUsage merge dicts into a single big one
undingen Aug 3, 2016
6f34e11
Merge pull request #1316 from undingen/smaller_scopenameusage
undingen Aug 3, 2016
bd39c49
Switch to CPython list sort
Aug 4, 2016
bc3e118
Change BoxedList::capacity to BoxedList::allocated
Aug 4, 2016
d7993a9
Allow BoxedList::allocated is -1
Aug 4, 2016
fca39ba
Merge pull request #1310 from Daetalus/list_cpython
undingen Aug 4, 2016
d8f237b
delete the llvm module
undingen Aug 4, 2016
c7bd5c4
ICSlotInfo: remove old invalidator entries
undingen Aug 5, 2016
d817b29
Merge pull request #1317 from undingen/delete_llvm_mod
undingen Aug 5, 2016
81c744b
Merge pull request #1318 from undingen/slot_info_clear
undingen Aug 5, 2016
53662aa
make inner links to dir format
KrishMunot Aug 8, 2016
d00c49a
remove pointers_in_code it's unused
undingen Aug 8, 2016
5cae67f
runtime ICs: use mmap instead of malloc for executable code
undingen Aug 8, 2016
9536f7f
use more std::unique_ptr
undingen Aug 8, 2016
daa0ffd
Merge pull request #1321 from undingen/more_unique_ptr
undingen Aug 8, 2016
802ad22
don't handle functions containing lambdas with yields as generators
undingen Aug 8, 2016
cdba6c2
don't crash when a generator has more than 3 arguments and kwargs
undingen Aug 8, 2016
0d750da
Merge pull request #1320 from KrishMunot/patch-4
undingen Aug 8, 2016
6f38dcc
Merge pull request #1323 from undingen/lambda_yield
undingen Aug 8, 2016
e4a492a
Merge pull request #1322 from undingen/runime_ics_mmap
kmod Aug 8, 2016
32fe213
pyston::DenseMap use PyObject_Malloc
undingen Aug 9, 2016
85a1c69
revert pyston modification
undingen Aug 9, 2016
1206cf2
microoptimizations
undingen Aug 9, 2016
f6009c2
ICInvalidator use SmallPtrSet
undingen Aug 9, 2016
232557a
Merge pull request #1324 from undingen/small_impr
undingen Aug 10, 2016
4b096d9
cfg: convert lambdas to function defs
undingen Aug 11, 2016
88f52b0
SourceInfo: remove the AST stmt copy
undingen Aug 11, 2016
c22574f
fix leaks in BoxedLong and BoxedThreadLock
undingen Aug 11, 2016
16210b7
Merge pull request #1325 from undingen/remove_body
undingen Aug 12, 2016
bb18ac0
bjit: fix memory corruption
undingen Aug 12, 2016
a4e6f09
Merge pull request #1326 from undingen/fix_memory_corruption
undingen Aug 12, 2016
ceb6517
VRegInfo: reduce memory usage
undingen Aug 12, 2016
41ce5b1
Merge pull request #1327 from undingen/vreg_mem
undingen Aug 12, 2016
a8b225a
Fix bad guard
kmod Aug 15, 2016
06dd454
Fix all other uses of addGuard
kmod Aug 15, 2016
3d9a839
Have to clear runtime ics more fully when destructed
kmod Aug 15, 2016
a79385d
Improve tear-down process slightly
kmod Aug 15, 2016
b9ad300
Have to clear ics before PyImport_Cleanup as well
kmod Aug 16, 2016
af9934e
Merge pull request #1328 from kmod/addguard_gcref
kmod Aug 16, 2016
91aad8d
libunwind: fix our change to _U_dyn_cancel
undingen Aug 16, 2016
d4b8c35
EH: correctly deregister EH frames and cleanup the code
undingen Aug 16, 2016
02e46a4
Merge pull request #1330 from undingen/fix_eh_handling
undingen Aug 17, 2016
f4ea810
bjit: free codeblocks after tiering up to the LLVM jit
undingen Aug 16, 2016
ce0a5dd
Merge pull request #1329 from undingen/free_bjit_code
undingen Aug 17, 2016
d713267
string interning: make it slightly more space efficient
undingen Aug 15, 2016
d15906e
hidden classes: free classes of singleton type
undingen Aug 3, 2016
7f10290
Merge pull request #1332 from undingen/free_singleton_hidden_classes
undingen Aug 19, 2016
aa5fa65
switch from the SSE prefetch to __builtin_prefetch
undingen Aug 19, 2016
f74e9ee
Merge pull request #1331 from undingen/mem_string_interning
undingen Aug 19, 2016
e9ced45
Merge pull request #1333 from undingen/prefetch
undingen Aug 19, 2016
7f5b72b
Add cffi v1.7 test
kmod Aug 20, 2016
d7be509
Remove some old GC cruft from the threading code
kmod Aug 19, 2016
fe5fc74
Purge the old GRWL (gil-free) code
kmod Aug 20, 2016
2a4e46e
Change _PyThreadState_Current handling
kmod Aug 19, 2016
61a7ab6
Get cffi-1.7 building
kmod Aug 20, 2016
73bf315
Small import safety improvement
kmod Aug 13, 2016
0f5f16a
Reduce cffi test size
kmod Aug 20, 2016
09470b2
Attempt at better message when the tester itself crashes
kmod Aug 20, 2016
9b46190
Fix this set issue
kmod Aug 21, 2016
7c1ee4c
Merge pull request #1334 from kmod/threading
kmod Aug 21, 2016
b2a3fb2
misc small memory size reductions
undingen Aug 19, 2016
98af448
ParamNames: only store AST_Name* or char* but not both
undingen Aug 19, 2016
85b1b94
remove moving gc define we don't need it anymore
undingen Aug 22, 2016
8481459
bjit: allocate 25% smaller codeblocks
undingen Aug 22, 2016
0324606
Merge pull request #1335 from undingen/minor_mem
undingen Aug 22, 2016
a36654a
MCJIT: free loaded objects
undingen Aug 22, 2016
76c7d50
Merge pull request #1336 from undingen/llvm_free_object_files
undingen Aug 22, 2016
bd490b8
remove libpypa
Aug 22, 2016
a120b2a
Change getMagic function to a constant and group the constants
Aug 22, 2016
0abee10
Merge pull request #1337 from Daetalus/libpypa
undingen Aug 23, 2016
bedb3f3
bjit: fix pointer reuse problem
undingen Aug 22, 2016
e4f5dd1
store keywords names inside the AST
undingen Aug 22, 2016
435131e
recordType: don't call recordType inside getattr rewrite path
undingen Aug 23, 2016
afec055
llvm tier: remove type recorder usage
undingen Aug 22, 2016
e790c69
moves the TypeRecorder ownership to the ICInfo
undingen Aug 23, 2016
64961ca
remove dead code
undingen Aug 23, 2016
0814d21
Merge pull request #1338 from undingen/fix_pointer_reuse_problems
undingen Aug 23, 2016
0971100
remove lazy scoping analysis option
undingen Aug 23, 2016
49502e9
move ScopeInfo ownership to SourceInfo
undingen Aug 23, 2016
47d6b1e
make ScopingAnalysis a shared_ptr
undingen Aug 23, 2016
180c5bf
Undo all the places we changed installed paths
kmod Aug 22, 2016
3f5b4b8
Semi-unrelated fix: don't include extra include files by accident
kmod Aug 25, 2016
83e57ca
Get rid of lib_pyston/
kmod Aug 26, 2016
d333615
Update integration tests for new site-packages location
kmod Aug 26, 2016
75d7319
Merge pull request #1341 from kmod/directories
kmod Aug 29, 2016
e379020
Fix leak check after path changes
undingen Aug 30, 2016
92fc9c3
Merge pull request #1343 from undingen/fix_leak_checker
undingen Aug 30, 2016
c5aa72a
Turn off implicit-function check in release mode
kmod Aug 30, 2016
9e1ed8a
Properly throw ImportErrors on dlopen failure
kmod Aug 30, 2016
0611d82
Merge pull request #1345 from kmod/implicit_function_declaration
kmod Aug 30, 2016
b4ece35
microptimization: reduce number of calls to BoxedFrame::handleFrameExit
undingen Aug 30, 2016
e432e29
use DEFAULT_CLASS_SIMPLE in more cases
undingen Aug 31, 2016
0be24ae
code type: do not use GC (same as cpython)
undingen Aug 31, 2016
ea8890e
Merge pull request #1348 from undingen/fewer_handleFrameExit
undingen Aug 31, 2016
7eacfcd
Create all FunctionMetadatas for a module at once
kmod Aug 31, 2016
2783ab4
Merge pull request #1349 from kmod/scoping
kmod Sep 1, 2016
b470153
Make GCC 5.4 happy with those type casting
Daetalus Sep 1, 2016
102e352
Use is_trivially_copy_constructible instead has_trivial_copy_constructor
Daetalus Sep 1, 2016
b64c525
Disable libunwind doc generation
Daetalus Sep 1, 2016
d824030
Merge pull request #1350 from Daetalus/building_issue
undingen Sep 1, 2016
111ca52
Revert "Merge pull request #1349 from kmod/scoping"
kmod Sep 1, 2016
dc8e825
Merge pull request #1351 from kmod/scoping_branch
kmod Sep 2, 2016
1b10176
Get rid of FunctionMetadata
kmod Sep 1, 2016
bcd8064
Move filename and name off of SourceInfo
kmod Sep 1, 2016
2affae9
Get rid of source->ast
kmod Sep 2, 2016
798c4da
Move doc+name from the function ctor to code ctor
kmod Sep 2, 2016
b2d50bd
Remove empty code.h file
kmod Sep 2, 2016
5f193e2
Make gcc happy
kmod Sep 2, 2016
0055cde
Make clang+gcc happy
kmod Sep 2, 2016
362a327
Merge pull request #1353 from kmod/noastref
kmod Sep 2, 2016
e4e2371
fix a bug where compare could ignore CAPI exceptions and add _heapq
undingen Aug 8, 2016
6ca5522
Merge pull request #1355 from undingen/_heapq
undingen Sep 5, 2016
42a07f2
Copy ast->bst
kmod Sep 2, 2016
5e76425
Migrated everything to bst except for cfg
kmod Sep 2, 2016
763cc65
CFG changes
kmod Sep 2, 2016
3b413f5
Clean up some dead code from the cfg changes
kmod Sep 6, 2016
48eb8f3
Merge pull request #1356 from kmod/bst
kmod Sep 6, 2016
6101f68
Revert "Revert "Merge pull request #1349 from kmod/scoping""
kmod Sep 6, 2016
aba408b
Merge commit '6101f68' into ast
kmod Sep 6, 2016
1ac2322
Minor improvements
kmod Sep 6, 2016
ad61645
Remove conflicting command-line flags
kmod Sep 6, 2016
d1e16e8
Merge pull request #1359 from kmod/metaserver_merge
kmod Sep 7, 2016
50d62a1
copy CPYTHON/setup.py from CPython 2.7.7 directlly
Daetalus Sep 5, 2016
e132792
Add some Pyston modification to from_cpython/setup.py
Daetalus Sep 7, 2016
9ef680b
AST & BST: remove unnecessary nodes and fields
undingen Sep 6, 2016
f2365ec
AST & BST: make enums smaller
undingen Sep 7, 2016
1228d98
BST: remove column field
undingen Sep 7, 2016
0dea31b
Merge pull request #1360 from undingen/astbst_cleanup
undingen Sep 7, 2016
6926ccf
AST: deallocate nodes
undingen Sep 7, 2016
128e2b0
Merge pull request #1361 from undingen/delete_ast_nodes
undingen Sep 8, 2016
c98fb20
Merge pull request #1358 from dropbox/ast
undingen Sep 8, 2016
6681b73
Merge pull request #1354 from Daetalus/building_issue
kmod Sep 8, 2016
64d4069
Be able to run an unmodified virtualenv
kmod Sep 6, 2016
928d5de
Need to handle the zip_safe issues as well
kmod Sep 10, 2016
bcd9793
These cpython tests are working now
kmod Sep 6, 2016
450242d
Fix test_bz2.py
kmod Sep 10, 2016
526a0fc
Get test_wait3 and test_wait4 working
kmod Sep 10, 2016
7747b4b
We're failing some tests in CI due to recursion depth issues
kmod Sep 10, 2016
de4d0a3
Set dont_write_bytcode=True by default
kmod Sep 10, 2016
3a41df7
Merge pull request #1340 from kmod/cpython_tests
kmod Sep 10, 2016
91b65a3
Merge pull request #1357 from kmod/unmodified_venv
kmod Sep 10, 2016
5c5bf96
add override keyword to make gcc 5 happy
Daetalus Sep 11, 2016
26048a7
update test notes, this test are passed
Daetalus Sep 11, 2016
9042baf
Merge pull request #1362 from Daetalus/building_issue
kmod Sep 12, 2016
4af0656
Add a bunch of missing symlinks
kmod Sep 10, 2016
332539d
Make -q to tester.py args
kmod Sep 10, 2016
715ace3
Improve recursion-depth checking a bit
kmod Sep 10, 2016
ee91219
Some minor improvements
kmod Sep 10, 2016
4a8040c
Rename our '-O' flag to '-L'
kmod Sep 10, 2016
bc10d36
ulimit: change from RSS to virtual size
kmod Sep 10, 2016
f17f3b0
test_itertools was failing because of a version mismatch between the …
kmod Sep 10, 2016
032b0dd
Get test_thread.py working
kmod Sep 10, 2016
b2b748e
Get test_coding.py working
kmod Sep 11, 2016
ac1fa8f
Get test_socket working (better)
kmod Sep 11, 2016
7f1d9eb
Get test_threading_local.py working
kmod Sep 11, 2016
3e957ac
Change these to absolute imports
kmod Sep 11, 2016
3108e45
Took a pass over most of the tests
kmod Sep 10, 2016
2522afa
Fix some issues I created
kmod Sep 12, 2016
4a1b44e
Split test_lib2to3 into small and large variants
kmod Sep 12, 2016
a2c2b89
Fix lint issue
kmod Sep 13, 2016
75562e5
Merge pull request #1363 from kmod/cpython_tests
kmod Sep 13, 2016
30e8e53
Fix docs about stats option
sh92 Sep 19, 2016
70993f0
Merge pull request #1369 from sh92/fixDocs
undingen Sep 19, 2016
e2cf475
I think we don't need to hardcode gcc path
Daetalus Sep 20, 2016
6ff7395
suppress some error in gcc 5
Daetalus Sep 20, 2016
e11d8ba
Let C compiler also try to find shared lib without *.pyston.so
Daetalus Sep 20, 2016
67e5971
[WIP] test
Daetalus Sep 21, 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

*~
40 changes: 40 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
[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/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/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
93 changes: 93 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
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
- gfortran
- libatlas-dev
- libatlas-base-dev
- libbz2-dev
- libgeoip-dev
- libgmp3-dev
- libmpfr-dev
- liblzma-dev
- libncurses5-dev
- libreadline-dev
- libsqlite3-dev
- libtool
- ninja-build
- python-dev
- 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
- time ninja -j4 pyston check-deps && PYSTON_RUN_ARGS=G travis_wait 60 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