All Projects → szaghi → Fobis

szaghi / Fobis

FoBiS.py, Fortran projects Building System for poor people

Programming Languages

python
139335 projects - #7 most used programming language
fortran
972 projects

Projects that are alternatives of or similar to Fobis

Gke Bazel Demo
Building applications with bazel and deploying them on to GKE. This demo contains a java-spring-boot rest service and an angular front-end. Both containers are deployed on GKE.
Stars: ✭ 92 (-17.12%)
Mutual labels:  build-tool
Make.go
A Go script that could replace your Makefile.
Stars: ✭ 105 (-5.41%)
Mutual labels:  build-tool
Walk
A fast, general purpose, graph based build and task execution utility.
Stars: ✭ 108 (-2.7%)
Mutual labels:  build-tool
Sake Cli
🍶 Sake is a build tool for JavaScript.
Stars: ✭ 97 (-12.61%)
Mutual labels:  build-tool
Dev Stuff
😎 Programming stuff for everyone. Collection of articles, videos about architecture, Domain Driven Design, microservices, testing etc.
Stars: ✭ 105 (-5.41%)
Mutual labels:  oop
Corrosion
Marrying Rust and CMake - Easy Rust and C/C++ Integration!
Stars: ✭ 106 (-4.5%)
Mutual labels:  build-tool
Lane Detection For Autonomous Cars
Lane Detection Module using C++ and OpenCV
Stars: ✭ 90 (-18.92%)
Mutual labels:  oop
Ant Javacard
Easy to use Ant task for building JavaCard Classic applets (2.1.1 to 3.1)
Stars: ✭ 109 (-1.8%)
Mutual labels:  build-tool
Buildpipeline
AWS-powered serverless build, test and deploy pipeline ft. multiple environments
Stars: ✭ 105 (-5.41%)
Mutual labels:  build-tool
Buildcache
A build cache
Stars: ✭ 107 (-3.6%)
Mutual labels:  build-tool
Softuni
SoftUni Courses
Stars: ✭ 98 (-11.71%)
Mutual labels:  oop
Wordpressify
🎈 A build system designed to automate your WordPress development workflow.
Stars: ✭ 1,374 (+1137.84%)
Mutual labels:  build-tool
How To Setup Webpack 2
🔧 ⚙ Tutorial to setup webpack 2 from scratch.
Stars: ✭ 107 (-3.6%)
Mutual labels:  build-tool
Off
OFF, Open source Finite volume Fluid dynamics code
Stars: ✭ 93 (-16.22%)
Mutual labels:  oop
Fastdex
🚀 加快 apk 的编译速度 🚀
Stars: ✭ 1,457 (+1212.61%)
Mutual labels:  build-tool
Uncss
Remove unused styles from CSS
Stars: ✭ 9,170 (+8161.26%)
Mutual labels:  build-tool
Wp Rest Starter
Starter package for working with the WordPress REST API in an object-oriented fashion.
Stars: ✭ 105 (-5.41%)
Mutual labels:  oop
Flap
Fortran command Line Arguments Parser for poor people
Stars: ✭ 109 (-1.8%)
Mutual labels:  oop
Oop
Interface and abstract class - simple and easy explanation
Stars: ✭ 109 (-1.8%)
Mutual labels:  oop
Parcel
The zero configuration build tool for the web. 📦🚀
Stars: ✭ 39,670 (+35638.74%)
Mutual labels:  build-tool

FoBiS.py Latest Version GitHub tag

License

FoBiS.py, Fortran Building System for poor people

A KISS tool for automatic building modern Fortran projects.

Status

Build Status Coverage Status Code Health

Issues

GitHub issues Ready in backlog In Progress Open bugs

Python support Supported Python versions

Why?

GNU Make, CMake, SCons & Co. are fantastic tools, even too much for poor-fortran-people.

However, the support for modern Fortran project is still poor: in particular, it is quite difficult (and boring) to track the inter-module-dependency hierarchy of project using many module files.

Modern Fortran programs can take great advantage of using modules (e.g. encapsulation), however their compilations can quickly become a nightmare as the number of modules grows. As a consequence, an automatic build system able to track (on the fly) any changes on the inter-module-dependency hierarchy can save the life of poor-fortran-people.

Why not use an auto-make-like tool?

There are a lot of alternatives for deal with inter-module-dependency hierarchy, but they can be viewed as a pre-processor for the actual building system (such as auto-make tools or even the Fortran compiler itself that, in most cases, can generate a dependency list of a processed file), thus they introduce another level of complexity... but poor-fortran-people always love the KISS (Keep It Simple, Stupid) things!

FoBiS.py is designed to do just one thing: build a modern Fortran program without boring you to specify a particular compilation hierarchy.

OK, what can FoBiS.py do? We are poor-fortran-people, we do not understand you...

Let us consider the following project tree

└── src
    ├── cumbersome.f90
    └── nested-1
        ├── first_dep.f90
        └── nested-2
            └── second_dep.inc

The main program contained into cumbersome.f90 depends on first_dep.f90 via the use statement use NesteD_1, thus it actually depends on the module nested_1. This module depends on second_dep.inc via the include statement include 'second_dep.inc'. Note that the dependency files are stored in a cumbersome nested tree. Write a makefile for this very simple example could waste many minutes... when the modules number increases the time wasted blows up!

It would be very nice to have a tool that automatically track the actual dependency-hierarchy and build the project on the fly, without the necessity to track the dependency-hierarchy changes. FoBiS.py just makes this... and few more things!

Suppose your goal is to build some (all) of the main programs contained into the project tree. In this case FoBiS.py can save your life: just type

FoBiS.py build

in the root of your project and FoBis.py will build all the main programs nested into the current root directory. Obviously, FoBiS.py will not (re-)compile unnecessary objects if they are up-to-date (like the "magic" of a makefile).

FoBiS.py has many (ok... some) others interesting features: if I have convinced you, please read the following.

Go to Top

Main features

  • [X] ⚡️ Automatic parsing of files for dependency-hierarchy creation in case of use and include statements;
  • [X] ⚡️ automatic building of all programs found into the root directory parsed or only a specific selected target;
  • [X] avoid unnecessary re-compilation (algorithm based on file-timestamp value);
  • [X] simple command line interface (CLI);
  • [X] friendly support for external libraries linking:
    • [X] direct linking with full libraries paths;
    • [X] relative linking via extending linker search paths;
  • [ ] support for widely used compilers:
    • [X] GNU Fortran Compiler;
    • [X] Intel Fortran Compiler;
    • [X] g95 Fortran Compiler;
    • [X] IBM XL Fortran Compiler;
    • [ ] NAG Fortran Compiler;
    • [ ] PGI Fortran Compiler;
  • [X] custom compiler support;
  • [X] ⚡️ configuration-files-free;
  • [X] ... but also configuration-file driven building for complex buildings;
  • [X] ⚡️ parallel compiling enabled by means of concurrent multiprocessing jobs;
  • [X] ⚡️ support submodules;
  • [X] advanced automatic (re-)building algorithms:
    • [X] ⚡️ automatic (re-)building when compiling flags change with respect the previous building;
    • [X] ⚡️ automatic (re-)building when linked library change;
    • [X] ⚡️ automatic building of projects upon which the actual project depends;
  • [X] ⚡️ advanced automatic micro-atomic introspective unittest support by means of doctests;
  • [X] ⚡️ generation of GNU Make makefile with rules fully supporting dependency-hierarchy for make-irreducible users;
  • [X] easy-extensible;
  • [X] well integrate with a flexible pythonic pre-processor, PreForM.py.

Go to Top

Documentation

FoBiS.py documentations are hosted on GitHub. The wiki and the README are the main documentation resources. Other sources of documentation are the examples.

Here is a non-comprehensive list of the main topics

Install Usage
Manual Install Getting Started
PyPi Install A Taste of FoBiS.py
Uncommon usage
fobos: the FoBiS.py makefile
FoBiS.py in action

Go to Top

Copyrights

FoBiS.py is an open source project, it is distributed under the GPL v3 license. A copy of the license should be distributed within FoBiS.py. Anyone interested to use, develop or to contribute to FoBiS.py is welcome. Take a look at the contributing guidelines for starting to contribute to the project.

Go to Top

A screencast of a very cumbersome example

Screencast

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].