Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
e57a136e
Commit
e57a136e
authored
Apr 14, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
10db71c2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
Makefile
Makefile
+6
-6
bigfile/_bigfile.c
bigfile/_bigfile.c
+1
-1
No files found.
Makefile
View file @
e57a136e
...
...
@@ -34,12 +34,12 @@ ifeq ($(CC),)
$(error
"Cannot defermine py-CC"
)
endif
all
:
pyext
wcfs/wcfs
all
:
bigfile/_bigfile.so
wcfs/wcfs
ccan_config
:=
3rdparty/ccan/config.h
pyext
:
$(ccan_config) FORCE
bigfile/_bigfile.so
:
$(ccan_config) FORCE
$(PYTHON)
setup.py build_dso
--inplace
$(PYTHON)
setup.py ll_build_ext
--inplace
...
...
@@ -170,14 +170,14 @@ test.vgdrd: $(TESTS:%=%.vgdrdrun)
# run python tests
PYTEST_IGNORE
:=
--ignore
=
3rdparty
--ignore
=
build
--ignore
=
t
test.py
:
pyext
wcfs/wcfs
test.py
:
bigfile/_bigfile.so
wcfs/wcfs
$(PYTEST)
$(PYTEST_IGNORE)
# test.py via Valgrind (very slow)
test.py.vghel
:
pyext
wcfs/wcfs
test.py.vghel
:
bigfile/_bigfile.so
wcfs/wcfs
$(
call
vgxrun,--tool
=
helgrind,
$(PYTEST)
$(PYTEST_IGNORE)
)
test.py.drd
:
pyext
wcfs/wcfs
test.py.drd
:
bigfile/_bigfile.so
wcfs/wcfs
$(
call
vgxrun,--tool
=
drd,
$(PYTEST)
$(PYTEST_IGNORE)
)
...
...
@@ -202,5 +202,5 @@ bench : bench.t bench.py
bench.t
:
$(BENCHV.C:%=%.trun)
bench.py
:
pyext
wcfs/wcfs
bench.py
:
bigfile/_bigfile.so
wcfs/wcfs
$(PYBENCH)
--count
=
3
--forked
$(PYTEST_IGNORE)
bigfile/_bigfile.c
View file @
e57a136e
...
...
@@ -936,7 +936,7 @@ pybigfile_remmap_blk_read(VMA *vma, BigFile *file0, blk_t blk)
return
file
->
blkmmap_ops
->
remmap_blk_read
(
vma
,
file0
,
blk
);
}
static
void
static
int
pybigfile_munmap
(
VMA
*
vma
,
BigFile
*
file0
)
{
PyBigFile
*
file
=
container_of
(
file0
,
PyBigFile
,
file
);
...
...
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