EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Another build-system bug in 3.14.12
From: Andrew Johnson <[email protected]>
To: <[email protected]>
Date: Wed, 12 Mar 2014 11:19:08 -0500
Note that Ben is actually generating the .h file as part of his build
process, not providing it in a source directory. We have never had a
need to do that before, which is why it doesn't currently work.

I'll reply to his messages directly...

On 03/12/2014 10:50 AM, Mark Rivers wrote:
> Hi Ben,
> 
> Here is how I have done this.
> 
> - Create an os/$(OS_CLASS) subdirectory.
> 
> For example:
> 
> corvette:areaDetector/ADBinaries/hdf5Support>ls os/WIN32/
> COPYING       H5DSpublic.h  H5FDcore.h    H5FDmpi.h       H5FDpublic.h   H5Fpublic.h   H5LTpublic.h  H5PTpublic.h  H5TBpublic.h  H5overflow.h    H5public.h
> H5ACpublic.h  H5Dpublic.h   H5FDdirect.h  H5FDmpio.h      H5FDsec2.h     H5Gpublic.h   H5Lpublic.h   H5Ppublic.h   H5Tpublic.h   H5pubconf.h     H5version.h
> H5Apublic.h   H5Epubgen.h   H5FDfamily.h  H5FDmpiposix.h  H5FDstdio.h    H5IMpublic.h  H5MMpublic.h  H5Rpublic.h   H5Zpublic.h   H5pubconf_32.h  hdf5.h
> H5Cpublic.h   H5Epublic.h   H5FDlog.h     H5FDmulti.h     H5FDwindows.h  H5Ipublic.h   H5Opublic.h   H5Spublic.h   H5api_adpt.h  H5pubconf_64.h  hdf5_hl.h
> 
> Then your Makefile can have this:
> 
> # OS-specific files in os/ARCH
> INC_WIN32 += H5ACpublic.h
> INC_WIN32 += H5Apublic.h
> INC_WIN32 += H5Cpublic.h
> INC_WIN32 += H5DSpublic.h
> INC_WIN32 += H5Dpublic.h
> INC_WIN32 += H5Epubgen.h
> INC_WIN32 += H5Epublic.h
> INC_WIN32 += H5FDcore.h
> INC_WIN32 += H5FDdirect.h
> INC_WIN32 += H5FDfamily.h
> INC_WIN32 += H5FDlog.h
> INC_WIN32 += H5FDmpi.h
> 
> This works fine with standard base I believe, including with "make -j".
> 
> Mark

-- 
Advertising may be described as the science of arresting the human
intelligence long enough to get money from it. -- Stephen Leacock

References:
Another build-system bug in 3.14.12 Benjamin Franksen
RE: Another build-system bug in 3.14.12 Mark Rivers
RE: Another build-system bug in 3.14.12 Mark Rivers

Navigate by Date:
Prev: Software Engineer Position at Advanced Photon Source Schwarz, Nicholas
Next: RE: MAXv model-3 driver - omsMAXvConfig problem Jens . Eden
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Another build-system bug in 3.14.12 Mark Rivers
Next: Software Engineer Position at Advanced Photon Source Schwarz, Nicholas
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·