Closed mdavidsaver closed 5 years ago
With this feature it should be possible to do something like DEB_BUILD_PROFILES=rtems
to conditionally enable building of RTEMS packages.
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.
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.
All relevant module PRs should be merged now.
@aderbenev, thanks a lot for testing!
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.