RDTK / generator

A tool for creating Jenkins jobs and other things from recipes describing software projects
GNU General Public License v3.0
21 stars 3 forks source link

Support generating a Makefile from recipes #32

Closed scymtym closed 1 year ago

scymtym commented 5 years ago

Is your feature request related to a problem? Please describe.

It is not always ideal to build, test and install projects inside Jenkins:

Describe the solution you'd like

Since recipes contain all information required for building, testing and installing projects, the generator should in principle be able to generate a Makefile instead of Jenkins jobs.

Something like

build-generator generate-makefile -o OUTPUT-DIRECTORY DISTRIBUTION-FILENAME

could generate such a Makefile.

Parallelization within jobs is interesting in this case: make-based jobs should be able to integrate with the job server provided by the outer make process which orchestrates the distribution build. Does that mean make-based projects should be built with just make instead of make -j …, or is something special needed to make this happen?

See https://www.gnu.org/software/make/manual/make.html#Job-Slots

scymtym commented 1 year ago

Implemented in f867cc337c88fbd2cb38e39c143ea11fbedbb28f.