Add stream device and extra make arguments
This commit is contained in:
@@ -5,6 +5,11 @@ Meta repository with references to third party modules and tags to build them.
|
||||
This is very barebones, please improve as you see fit.
|
||||
This at least allows us to pin down the versions for when we need to rebuild everything
|
||||
|
||||
## Dependencies
|
||||
``
|
||||
yq
|
||||
``
|
||||
|
||||
## How to
|
||||
|
||||
Create a module yaml file in the `modules` directory, the most common case we build an already tagged version from GFS.
|
||||
|
||||
@@ -18,6 +18,7 @@ repo=$(yq e '.repo' $MODULEYAML)
|
||||
branch=$(yq e '.branch' $MODULEYAML)
|
||||
commit=$(yq e '.commit' $MODULEYAML)
|
||||
makefile=$(yq e '.makefile' $MODULEYAML)
|
||||
extra=$(yq e '.extraargs' $MODULEYAML)
|
||||
|
||||
builddir="$WORKDIR/$module"
|
||||
if [ $makefile != null ]; then
|
||||
@@ -42,5 +43,5 @@ else
|
||||
git -C $builddir checkout $commit
|
||||
fi
|
||||
|
||||
make -C $builddir $make_args $2 MODULE=$module ARCH_FILTER="RHEL8%"
|
||||
make -C $builddir $make_args $2 MODULE=$module ARCH_FILTER="RHEL8%" $extra
|
||||
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
# For now and example, just to prove that we can build from commits
|
||||
module: stream
|
||||
repo: git@gitea.psi.ch:epics_driver_modules/StreamDevice.git
|
||||
branch: master
|
||||
commit: 2.8.26
|
||||
extraargs: CALC=1
|
||||
Reference in New Issue
Block a user