epicsdeb / epics-base

EPICS Base packaging
http://www.aps.anl.gov/epics/
Other
5 stars 10 forks source link

Investigate DEB_BUILD_PROFILES #14

Closed mdavidsaver closed 5 years ago

mdavidsaver commented 6 years ago

With https://wiki.debian.org/BuildProfileSpec Debian supports conditional binary packages and build dependencies. Lack of this is what led to the split of epics-base and rtems-epics as separate source packages.

mdavidsaver commented 6 years ago

With this feature it should be possible to do something like DEB_BUILD_PROFILES=rtems to conditionally enable building of RTEMS packages.

mark0n commented 5 years ago

I have modified the affected packages - see the following PRs:

aderbenev commented 5 years ago

I found a convenient way to bring whatever environment variables in the builder environment which I think should be sufficient to get profiles defined and used as wanted. However, build profile support only comes in pbuilder >= 0.215+nmu4. What available from the main repo is 0.215+nmu3, so I had to fetch stuff from here or the build setup would choke on syntax errors. I tried it on one of the packages (devlib2) and it has built without any apparent issues including packages for the RTEMS profile. Now to running remaining ones through.

aderbenev commented 5 years ago

I got all affected packages rebuilt with master/epics-master 3.15.5, and put it all on the test system. I want to assemble and test an RTEMS app with all modules now to see that all is good there.

aderbenev commented 5 years ago

All relevant module PRs should be merged now.

mark0n commented 5 years ago

@aderbenev, thanks a lot for testing!