Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pyston
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
Pyston
Commits
e56dcc92
Commit
e56dcc92
authored
May 15, 2015
by
Kevin Modzelewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better ulimit: just set on rss
parent
66cd8f53
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
Makefile
Makefile
+7
-7
No files found.
Makefile
View file @
e56dcc92
...
...
@@ -455,10 +455,10 @@ $1_unittest:
ln
-sf
$(HOME)
/pyston-build-dbg/
$1_unittest
.
endif
dbg_$1_unittests
:
$1_unittest
zsh
-c
'ulimit -
v
$(MAX_MEM_KB)
; ulimit -d
$(MAX_MEM_KB)
; time
$(GDB)
$(GDB_CMDS)
--args ./$1_unittest --gtest_break_on_failure
$(ARGS)
'
zsh
-c
'ulimit -
m
$(MAX_MEM_KB)
; time
$(GDB)
$(GDB_CMDS)
--args ./$1_unittest --gtest_break_on_failure
$(ARGS)
'
unittests
::
$1_unittest
run_$1_unittests
:
$1_unittest
zsh
-c
'ulimit -
v
$(MAX_MEM_KB)
; ulimit -d
$(MAX_MEM_KB)
; time ./$1_unittest
$(ARGS)
'
zsh
-c
'ulimit -
m
$(MAX_MEM_KB)
; time ./$1_unittest
$(ARGS)
'
run_unittests
::
run_$1_unittests
)
endef
...
...
@@ -980,12 +980,12 @@ check$1 test$1: $(PYTHON_EXE_DEPS) pyston$1 ext_pyston
run$1
:
pyston$1 $$(RUN_DEPS)
PYTHONPATH
=
test
/test_extension ./pyston
$1
$
$(ARGS)
dbg$1
:
pyston$1 $$(RUN_DEPS)
PYTHONPATH
=
test
/test_extension zsh
-c
'ulimit -
v
$
$(MAX_DBG_MEM_KB)
; $
$(GDB)
$
$(GDB_CMDS)
--args ./pyston$1 $
$(ARGS)
'
PYTHONPATH
=
test
/test_extension zsh
-c
'ulimit -
m
$
$(MAX_DBG_MEM_KB)
; $
$(GDB)
$
$(GDB_CMDS)
--args ./pyston$1 $
$(ARGS)
'
nosearch_run$1_%
:
%.py pyston$1 $$(RUN_DEPS)
$(VERB)
PYTHONPATH
=
test
/test_extension zsh
-c
'ulimit -
v $
$(MAX_MEM_KB)
; ulimit -d
$
$(MAX_MEM_KB)
; time ./pyston$1 $
$(ARGS)
$$<'
$(VERB)
PYTHONPATH
=
test
/test_extension zsh
-c
'ulimit -
m
$
$(MAX_MEM_KB)
; time ./pyston$1 $
$(ARGS)
$$<'
$$(call
make_search,run$1_%)
nosearch_dbg$1_%
:
%.py pyston$1 $$(RUN_DEPS)
$(VERB)
PYTHONPATH
=
test
/test_extension zsh
-c
'ulimit -
v
$
$(MAX_DBG_MEM_KB)
; $
$(GDB)
$
$(GDB_CMDS)
--args ./pyston$1 $
$(ARGS)
$$<'
$(VERB)
PYTHONPATH
=
test
/test_extension zsh
-c
'ulimit -
m
$
$(MAX_DBG_MEM_KB)
; $
$(GDB)
$
$(GDB_CMDS)
--args ./pyston$1 $
$(ARGS)
$$<'
$$(call
make_search,dbg$1_%)
ifneq
($$(ENABLE_VALGRIND),0)
...
...
@@ -1110,7 +1110,7 @@ opreportcg:
.PHONY
:
watch_% watch wdbg_%
watch_%
:
@
(
ulimit
-t
60
;
ulimit
-
d
$(MAK_MEM_KB)
;
ulimit
-v
$(MAK_MEM_KB)
;
\
@
(
ulimit
-t
60
;
ulimit
-
m
$(MAK_MEM_KB)
;
\
TARGET
=
$(
dir
$@
)$(
patsubst
watch_%,%,
$(
notdir
$@
))
;
\
clear
;
$(MAKE)
$$
TARGET
$(WATCH_ARGS)
;
true
;
\
while
inotifywait
-q
-e
modify
-e
attrib
-e
move
-e
move_self
-e
create
-e
delete
-e
delete_self
\
...
...
@@ -1145,7 +1145,7 @@ test_cpp_ll:
.PHONY
:
bench_exceptions
bench_exceptions
:
$(CLANGPP_EXE)
$(TEST_DIR)
/bench_exceptions.cpp
-o
bench_exceptions
-O3
-std
=
c++11
zsh
-c
'ulimit -
v
$(MAX_MEM_KB)
; ulimit -d
$(MAX_MEM_KB)
; time ./bench_exceptions'
zsh
-c
'ulimit -
m
$(MAX_MEM_KB)
; time ./bench_exceptions'
rm
bench_exceptions
TEST_EXT_MODULE_NAMES
:=
basic_test descr_test slots_test
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment