How to determine OS_CLASS from EPICS_HOST_ARCH
Bug #1259691 reported by
Andrew Johnson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
EPICS Base |
Fix Released
|
Wishlist
|
mdavidsaver |
Bug Description
We don't currently provide a way for external build systems to work out what include/os/* directory to search based on the EPICS_HOST_ARCH. This would be very useful, even essential.
Related branches
lp:~epics-core/epics-base/gen-pkg-config
- Andrew Johnson: Approve
- mdavidsaver: Approve
-
Diff: 175 lines (+102/-7)6 files modifiedconfigure/CONFIG_FILE_TYPE (+3/-0)
configure/RULES_EXPAND (+3/-4)
src/tools/Makefile (+23/-0)
src/tools/epics-base-arch.pc@ (+41/-0)
src/tools/epics-base.pc@ (+29/-0)
src/tools/expandVars.pl (+3/-3)
Changed in epics-base: | |
assignee: | nobody → mdavidsaver (mdavidsaver) |
status: | New → Fix Released |
To post a comment you must log in.
With 3.15 and include/compiler/ the situation is actually worse. While
the OS names are lexically similar and fixed (linux -> Linux, win32 ->
WIN32), the compiler names are neither (linux is gcc, except when its
clang).
I think a look up table is the only way to deal with this. Perhaps os/OS.< targetname> " and os/COMPILER. <targetname> " with the relevant strings?
generate text files "configure/
"configure/
On 12/10/2013 03:53 PM, Andrew Johnson wrote:
> Public bug reported:
>
> We don't currently provide a way for external build systems to work out
> what include/os/* directory to search based on the EPICS_HOST_ARCH. This
> would be very useful, even essential.
>
> ** Affects: epics-base
> Importance: Wishlist
> Status: New
>
>
> ** Tags: build
>