Skip to main content

No project description provided

Project description

L.A.B.S

L.A.B.S. stands for Language Agnostic Build System.

This is "yet another" build system to replace cmake and meson.

Labs is not meant to be "the faster" (even though its use of ninja similar to meson makes roughly as fast as meson), but to produce reproductible builds.

Contrary to CMake or Meson, you don't need to learn yet another language since plain python is used.

The philosophy behind Labs is that simple tasks should be trivial to do, and hard ones should be easy.

A work in progress

The project is still at a draft step : Only the low-level api is developped yet, but it is on heavy developpment, thus expect additionnal feature coming fast.

Roadmap

  • Ninja abstraction and build generation
    • Variables
    • Rule with variables
    • Target files set
    • Build rules
      • Explicit, implicit and order-only targets
      • Overide variables
  • CMake-like build configuration
  • Basic find_program
    • Find program in path
    • Find program from several names
  • Easy for a build to depend on a found program
  • Run found program at config time
  • Run found programm at ninja
  • Custom commands (with pipes, file redirection etc.)
  • Command line interface
    • CMake-like semantic shadow build
    • CMake-like incremental cache
  • Feature testing framework
  • Documentation
    • In code docstring
    • Tutorial
  • Extension system
  • Install rules
  • GCC compatible workflow (anything that compiles to *.o files
    • Compile wrapper class
    • Understand common C/CXX env variables
    • Handle include paths
    • Handle libs
  • auto_build function to compile with the right compiler automatically regarding the file ype.
  • sub project
  • find_lib
    • using pkg_config
    • using CMake
  • Java compilation
  • Qt
  • Other language
    • Go
    • Rust
    • ...
  • Wrapper to handle linux and windows with the same commands
  • Build an execurable for windows embedding the python interpreter
  • IDE project generation
  • Advanced find_program
    • Require version
    • Host, build and target machin distinction
    • Look at python modules
  • support a wide range of compilers

Don't be fooled : half of the features are checked, but it actually represent at most 5% of the targeted features =))

If you like the project, feel free to apply for implement some feature by creating an issue !

License

Copyright © 2020 Léo Flaventin Hauchecorne

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

labs-build-0.1.dev0.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

labs_build-0.1.dev0-py3-none-any.whl (22.8 kB view details)

Uploaded Python 3

File details

Details for the file labs-build-0.1.dev0.tar.gz.

File metadata

  • Download URL: labs-build-0.1.dev0.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.3

File hashes

Hashes for labs-build-0.1.dev0.tar.gz
Algorithm Hash digest
SHA256 81b9f657ca7b743e7a5f1b0da939e25a0813ce1489e56ac1d3473ecf1e17aa85
MD5 38970f9a4a028ed83ae2fe969e77a20c
BLAKE2b-256 c74cd1faf04386bd554bc7ae7cb251b4f46ea6f69d248adca5d08abeac223303

See more details on using hashes here.

File details

Details for the file labs_build-0.1.dev0-py3-none-any.whl.

File metadata

  • Download URL: labs_build-0.1.dev0-py3-none-any.whl
  • Upload date:
  • Size: 22.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.3

File hashes

Hashes for labs_build-0.1.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 29a4f485ce3c1a531cf05eb9a3c742d1b26def36745443eea2f61a91501c4fa8
MD5 0efbe0dafbc6b4ae00f2071f6782f600
BLAKE2b-256 879b4c9003e09ccd564ff76ae1901fc0a8e9b8f72b7b2696ae69cc7588cdf72e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page