i-have-a-dreambox.com | Dreambox - Support

Registrierung Kalender Mitgliederliste Teammitglieder Galerie Zum Portal Zur Startseite

Boardregeln Häufig gestellte Fragen Statistik Statistik Suche Pinwand Dreambox Blog Ihad/Gemini Fan-Shop
i-have-a-dreambox.com | Dreambox - Support » ...::: Dreambox Software :::... » Bastelstube » meson, ninja-build und python3 » Hallo Gast [Anmelden|Registrieren]
Letzter Beitrag | Erster ungelesener Beitrag Druckvorschau | Thema zu Favoriten hinzufügen
Neues Thema erstellen Antwort erstellen
Zum Ende der Seite springen meson, ninja-build und python3
Autor
Beitrag « Vorheriges Thema | Nächstes Thema »
pclin pclin ist männlich
V.I.P.*


images/avatars/avatar-14187.gif

Dabei seit: 15.01.2009
Beiträge: 2.194
Welche Box: DM900
Externe Speichermedien: HDD
Welches Zubehör: USB: Hub,Stick;HDD,Tastat ur & Maus
Welches Image: eigenes Image
Welcher Bildschirm: Plasma 60 Zoll
Herkunft: NRW

NEW meson, ninja-build und python3 Auf diesen Beitrag antworten Zitatantwort auf diesen Beitrag erstellen Diesen Beitrag editieren/löschen Diesen Beitrag einem Moderator melden       Zum Anfang der Seite springen

The Meson Build system
ninja a small build system with a focus on speed

Es wird python3 benötigt.

Gebaut habe ich damit die libmpdclient_2.13

Im dreambox-forum gibt es einen Thread

Bei Interesse an meson, ninja-build und python3 könnt ihr euch melden, dann baue ich gerne Pakete (armhf/mipsel).

python3 ist aus dem OE2.5 (krogoth), mit bitbake gebaut, da gibt es also schon Pakete.

meson
code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
[19:14 root@dm900 tmp] > meson -v
0.42.0.dev1

[20:47 root@dm900 tmp] > meson -h
usage: meson [-h] [--prefix PREFIX] [--libdir LIBDIR]
             [--libexecdir LIBEXECDIR] [--bindir BINDIR] [--sbindir SBINDIR]
             [--includedir INCLUDEDIR] [--datadir DATADIR] [--mandir MANDIR]
             [--infodir INFODIR] [--localedir LOCALEDIR]
             [--sysconfdir SYSCONFDIR] [--localstatedir LOCALSTATEDIR]
             [--sharedstatedir SHAREDSTATEDIR]
             [--backend {ninja,vs,vs2010,vs2015,vs2017,xcode}]
             [--buildtype {plain,debug,debugoptimized,release,minsize}]
             [--strip] [--unity {on,off,subprojects}] [--werror]
             [--layout {mirror,flat}] [--default-library {shared,static}]
             [--warnlevel {1,2,3}] [--stdsplit] [--errorlogs]
             [--cross-file CROSS_FILE] [-D option] [-v]
             [--wrap-mode {WrapMode.default,WrapMode.nofallback,WrapMode.nodownload}]
             [directories [directories ...]]

positional arguments:
  directories

optional arguments:
  -h, --help            show this help message and exit
  --prefix PREFIX       Installation prefix (default: /usr/local).
  --libdir LIBDIR       Library directory (default: lib).
  --libexecdir LIBEXECDIR
                        Library executable directory (default: libexec).
  --bindir BINDIR       Executable directory (default: bin).
  --sbindir SBINDIR     System executable directory (default: sbin).
  --includedir INCLUDEDIR
                        Header file directory (default: include).
  --datadir DATADIR     Data file directory (default: share).
  --mandir MANDIR       Manual page directory (default: share/man).
  --infodir INFODIR     Info page directory (default: share/info).
  --localedir LOCALEDIR
                        Locale data directory (default: share/locale).
  --sysconfdir SYSCONFDIR
                        Sysconf data directory (default: etc).
  --localstatedir LOCALSTATEDIR
                        Localstate data directory (default: var).
  --sharedstatedir SHAREDSTATEDIR
                        Architecture-independent data directory (default:
                        com).
  --backend {ninja,vs,vs2010,vs2015,vs2017,xcode}
                        Backend to use (default: ninja).
  --buildtype {plain,debug,debugoptimized,release,minsize}
                        Build type to use (default: debug).
  --strip               Strip targets on install.
  --unity {on,off,subprojects}
                        Unity build (default: off).
  --werror              Treat warnings as errors.
  --layout {mirror,flat}
                        Build directory layout (default: mirror).
  --default-library {shared,static}
                        Default library type (default: shared).
  --warnlevel {1,2,3}   Compiler warning level to use (default: 1).
  --stdsplit            Split stdout and stderr in test logs.
  --errorlogs           Whether to print the logs from failing tests.
  --cross-file CROSS_FILE
                        File describing cross compilation environment.
  -D option             Set the value of an option, can be used several times
                        to set multiple options.
  -v, --version         show program's version number and exit
  --wrap-mode {WrapMode.default,WrapMode.nofallback,WrapMode.nodownload}
                        Special wrap mode to use

ninja
code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
Description: small build system closest in spirit to Make
 Ninja is yet another build system. It takes as input the interdependencies of
 files (typically source code and output executables) and orchestrates
 building them, quickly.
 .
 Ninja joins a sea of other build systems. Its distinguishing goal is to be
 fast. It is born from the Chromium browser project, which has over 30,000
 source files and whose other build systems can take ten seconds to start
 building after changing one file. Ninja is under a second.

[20:52 root@dm900 tmp] > ninja --help
usage: ninja [options] [targets...]

if targets are unspecified, builds the 'default' target (see manual).

options:
  --version  print ninja version ("1.7.2.git")

  -C DIR   change to DIR before doing anything else
  -f FILE  specify input build file [default=build.ninja]

  -j N     run N jobs in parallel [default=3, derived from CPUs available]
  -k N     keep going until N jobs fail [default=1]
  -l N     do not start new jobs if the load average is greater than N
  -n       dry run (don't run commands but act like they succeeded)
  -v       show all command lines while building

  -d MODE  enable debugging (use -d list to list modes)
  -t TOOL  run a subtool (use -t list to list subtools)
    terminates toplevel options; further flags are passed to the tool
  -w FLAG  adjust warnings (use -w list to list warnings)

python3
code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
Python 3.5.1 (default, Jul 31 2017, 22:30:58) 
[GCC 5.3.0] on linux

[20:52 root@dm900 tmp] > python3 --help
usage: python3 [option] ... [-c cmd | -m mod | file | -] [arg] ...
Options and arguments (and corresponding environment variables):
-b     : issue warnings about str(bytes_instance), str(bytearray_instance)
         and comparing bytes/bytearray with str. (-bb: issue errors)
-B     : don't write .py[co] files on import; also PYTHONDONTWRITEBYTECODE=x
-c cmd : program passed in as string (terminates option list)
-d     : debug output from parser; also PYTHONDEBUG=x
-E     : ignore PYTHON* environment variables (such as PYTHONPATH)
-h     : print this help message and exit (also --help)
-i     : inspect interactively after running script; forces a prompt even
         if stdin does not appear to be a terminal; also PYTHONINSPECT=x
-I     : isolate Python from the user's environment (implies -E and -s)
-m mod : run library module as a script (terminates option list)
-O     : optimize generated bytecode slightly; also PYTHONOPTIMIZE=x
-OO    : remove doc-strings in addition to the -O optimizations
-q     : don't print version and copyright messages on interactive startup
-s     : don't add user site directory to sys.path; also PYTHONNOUSERSITE
-S     : don't imply 'import site' on initialization
-u     : unbuffered binary stdout and stderr, stdin always buffered;
         also PYTHONUNBUFFERED=x
         see man page for details on internal buffering relating to '-u'
-v     : verbose (trace import statements); also PYTHONVERBOSE=x
         can be supplied multiple times to increase verbosity
-V     : print the Python version number and exit (also --version)
-W arg : warning control; arg is action:message:category:module:lineno
         also PYTHONWARNINGS=arg
-x     : skip first line of source, allowing use of non-Unix forms of #!cmd
-X opt : set implementation-specific option
file   : program read from script file
-      : program read from stdin (default; interactive mode if a tty)
arg ...: arguments passed to program in sys.argv[1:]

Other environment variables:
PYTHONSTARTUP: file executed on interactive startup (no default)
PYTHONPATH   : ':'-separated list of directories prefixed to the
               default module search path.  The result is sys.path.
PYTHONHOME   : alternate <prefix> directory (or <prefix>:<exec_prefix>).
               The default module search path uses <prefix>/pythonX.X.
PYTHONCASEOK : ignore case in 'import' statements (Windows).
PYTHONIOENCODING: Encoding[:errors] used for stdin/stdout/stderr.
PYTHONFAULTHANDLER: dump the Python traceback on fatal errors.
PYTHONHASHSEED: if this variable is set to 'random', a random value is used
   to seed the hashes of str, bytes and datetime objects.  It can also be
   set to an integer in the range [0,4294967295] to get hash values with a
   predictable seed.

gruß pclin

__________________
Die zwei Gemütszustände eines Programmierers
0 ich hab keine Ahnung was ich hier mache
1 ICH BIN GOTT

DM900UHD-3HT, DM820HD-SS HDD + USB-HUB, Stick 64GB, USB-HDD, Wireless Touch Keyboard K400r, Wlan-Stick 11n
(Flash) DMM-OE2.5 (BAXII) eigenes OE2.5, Dream-Elite, Debian jessie, Diverse

AudioDSP: miniDSP 2x4 HD, AV-Receiver: Denon AVR-X4100W

Dieser Beitrag wurde 11 mal editiert, zum letzten Mal von pclin: 12.08.2017 14:55.

11.08.2017 19:35 pclin ist offline E-Mail an pclin senden Beiträge von pclin suchen Nehmen Sie pclin in Ihre Freundesliste auf
pclin pclin ist männlich
V.I.P.*


images/avatars/avatar-14187.gif

Dabei seit: 15.01.2009
Beiträge: 2.194
Welche Box: DM900
Externe Speichermedien: HDD
Welches Zubehör: USB: Hub,Stick;HDD,Tastat ur & Maus
Welches Image: eigenes Image
Welcher Bildschirm: Plasma 60 Zoll
Herkunft: NRW

Themenstarter Thema begonnen von pclin
Auf diesen Beitrag antworten Zitatantwort auf diesen Beitrag erstellen Diesen Beitrag editieren/löschen Diesen Beitrag einem Moderator melden       Zum Anfang der Seite springen

Für mipsel ist jetzt auch alles fertig!

code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
[13:02 root@dm900 tmp] > apt show meson
Package: meson
Status: install ok installed
Priority: optional
Section: devel
Maintainer: pclin <pclin@ufo-service.de>
Version: 0.42.0-r0.0
Depends: ninja-build (>= 1.7.2), python3
OE: meson
PackageArch: all
Homepage: http://mesonbuild.com
Installed-Size: unknown
Download-Size: unknown
APT-Manual-Installed: yes
APT-Sources: /var/lib/dpkg/status
Description: high-productivity build system
 Meson is a build system designed to increase programmer
 productivity. It does this by providing a fast, simple and easy to
 use interface for modern software development tools and practices.

[13:03 root@dm900 tmp] > apt show ninja-build
Package: ninja-build
Status: install ok installed
Priority: optional
Section: devel
Maintainer: pclin <pclin@ufo-service.de>
Version: 1.7.2-r0.0
Depends: libc6 (>= 2.23), libstdc++6 (>= 5.3.0), re2c (>= 0.13.5)
Original-Maintainer: Gary Kramlich <grim@reaperworld.com>
OE: ninja
PackageArch: cortexa15hf-neon-vfpv4
Homepage: http://martine.github.com/ninja/
Installed-Size: unknown
Download-Size: unknown
APT-Manual-Installed: yes
APT-Sources: /var/lib/dpkg/status
Description: small build system closest in spirit to Make
 Ninja is yet another build system. It takes as input the interdependencies of
 files (typically source code and output executables) and orchestrates
 building them, quickly.

gruß pclin

EDIT:
code:
1:
2:
3:
4:
# Add the following to your .bashrc to tab-complete ninja targets
/usr/share/ninja/misc/bash-completion


Dateianhänge:
unknown meson_0.42.0-r0.0_all.deb (403 KB, 1 mal heruntergeladen)
unknown ninja-build_1.7.2-r0.0_armhf.deb (792 KB, 1 mal heruntergeladen)
unknown re2c_0.13.5-r0.0_armhf.deb (58,40 KB, 1 mal heruntergeladen)
zip python3_armhf.zip (8 MB, 3 mal heruntergeladen)
unknown ninja-build_1.7.2-r0.0_mipsel.deb (792 KB, 0 mal heruntergeladen)
unknown re2c_0.13.5-r0.0_mipsel.deb (64,02 KB, 0 mal heruntergeladen)
zip python3_mipsel.zip (8 MB, 0 mal heruntergeladen)


__________________
Die zwei Gemütszustände eines Programmierers
0 ich hab keine Ahnung was ich hier mache
1 ICH BIN GOTT

DM900UHD-3HT, DM820HD-SS HDD + USB-HUB, Stick 64GB, USB-HDD, Wireless Touch Keyboard K400r, Wlan-Stick 11n
(Flash) DMM-OE2.5 (BAXII) eigenes OE2.5, Dream-Elite, Debian jessie, Diverse

AudioDSP: miniDSP 2x4 HD, AV-Receiver: Denon AVR-X4100W

Dieser Beitrag wurde 5 mal editiert, zum letzten Mal von pclin: 12.08.2017 13:35.

12.08.2017 13:07 pclin ist offline E-Mail an pclin senden Beiträge von pclin suchen Nehmen Sie pclin in Ihre Freundesliste auf
Baumstruktur | Brettstruktur
Gehe zu:
Neues Thema erstellen Antwort erstellen
i-have-a-dreambox.com | Dreambox - Support » ...::: Dreambox Software :::... » Bastelstube » meson, ninja-build und python3

Impressum | Team | Suchen | Hilfe


Powered by Burning Board 2.3.6 © 2001-2003 WoltLab GbR