Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
6f278977
Commit
6f278977
authored
Aug 28, 2021
by
Max Kellermann
Committed by
Max Kellermann
Sep 20, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build/python/project: add build(), calls _build()
Prepare to add some code around the _build() call.
parent
4f2f705d
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
11 additions
and
8 deletions
+11
-8
autotools.py
python/build/autotools.py
+1
-1
boost.py
python/build/boost.py
+1
-1
cmake.py
python/build/cmake.py
+1
-1
ffmpeg.py
python/build/ffmpeg.py
+1
-1
jack.py
python/build/jack.py
+1
-1
meson.py
python/build/meson.py
+1
-1
openssl.py
python/build/openssl.py
+1
-1
project.py
python/build/project.py
+3
-0
zlib.py
python/build/zlib.py
+1
-1
No files found.
python/build/autotools.py
View file @
6f278977
...
...
@@ -55,7 +55,7 @@ class AutotoolsProject(MakeProject):
subprocess
.
check_call
(
configure
,
cwd
=
build
,
env
=
toolchain
.
env
)
return
build
def
build
(
self
,
toolchain
):
def
_
build
(
self
,
toolchain
):
build
=
self
.
configure
(
toolchain
)
if
self
.
subdirs
is
not
None
:
for
subdir
in
self
.
subdirs
:
...
...
python/build/boost.py
View file @
6f278977
...
...
@@ -12,7 +12,7 @@ class BoostProject(Project):
name
=
'boost'
,
version
=
version
,
**
kwargs
)
def
build
(
self
,
toolchain
):
def
_
build
(
self
,
toolchain
):
src
=
self
.
unpack
(
toolchain
)
# install the headers manually; don't build any library
...
...
python/build/cmake.py
View file @
6f278977
...
...
@@ -53,7 +53,7 @@ class CmakeProject(Project):
configure
(
toolchain
,
src
,
build
,
configure_args
)
return
build
def
build
(
self
,
toolchain
):
def
_
build
(
self
,
toolchain
):
build
=
self
.
configure
(
toolchain
)
subprocess
.
check_call
([
'ninja'
,
'install'
],
cwd
=
build
,
env
=
toolchain
.
env
)
python/build/ffmpeg.py
View file @
6f278977
...
...
@@ -10,7 +10,7 @@ class FfmpegProject(Project):
self
.
configure_args
=
configure_args
self
.
cppflags
=
cppflags
def
build
(
self
,
toolchain
):
def
_
build
(
self
,
toolchain
):
src
=
self
.
unpack
(
toolchain
)
build
=
self
.
make_build_path
(
toolchain
)
...
...
python/build/jack.py
View file @
6f278977
...
...
@@ -26,7 +26,7 @@ class JackProject(Project):
base
=
'jack2-'
+
self
.
version
,
**
kwargs
)
def
build
(
self
,
toolchain
):
def
_
build
(
self
,
toolchain
):
src
=
self
.
unpack
(
toolchain
)
includes
=
[
'jack.h'
,
'ringbuffer.h'
,
'systemdeps.h'
,
'transport.h'
,
'types.h'
,
'weakmacros.h'
]
...
...
python/build/meson.py
View file @
6f278977
...
...
@@ -115,7 +115,7 @@ class MesonProject(Project):
configure
(
toolchain
,
src
,
build
,
self
.
configure_args
)
return
build
def
build
(
self
,
toolchain
):
def
_
build
(
self
,
toolchain
):
build
=
self
.
configure
(
toolchain
)
subprocess
.
check_call
([
'ninja'
,
'install'
],
cwd
=
build
,
env
=
toolchain
.
env
)
python/build/openssl.py
View file @
6f278977
...
...
@@ -23,7 +23,7 @@ class OpenSSLProject(MakeProject):
'RANLIB='
+
toolchain
.
ranlib
,
]
def
build
(
self
,
toolchain
):
def
_
build
(
self
,
toolchain
):
src
=
self
.
unpack
(
toolchain
,
out_of_tree
=
False
)
# OpenSSL has a weird target architecture scheme with lots of
...
...
python/build/project.py
View file @
6f278977
...
...
@@ -79,3 +79,6 @@ class Project:
pass
os
.
makedirs
(
path
,
exist_ok
=
True
)
return
path
def
build
(
self
,
toolchain
):
self
.
_build
(
toolchain
)
python/build/zlib.py
View file @
6f278977
...
...
@@ -7,7 +7,7 @@ class ZlibProject(Project):
**
kwargs
):
Project
.
__init__
(
self
,
url
,
md5
,
installed
,
**
kwargs
)
def
build
(
self
,
toolchain
):
def
_
build
(
self
,
toolchain
):
src
=
self
.
unpack
(
toolchain
,
out_of_tree
=
False
)
subprocess
.
check_call
([
'/usr/bin/make'
,
'--quiet'
,
...
...
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