EPICS Home

Experimental Physics and Industrial Control System


 
2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024  2025  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024  2025 
<== Date ==> <== Thread ==>

Subject: RE: readline in base 7.0.7
From: Mark Rivers via Core-talk <core-talk at aps.anl.gov>
To: Michael Davidsaver <mdavidsaver at gmail.com>
Cc: "core-talk at aps.anl.gov" <core-talk at aps.anl.gov>
Date: Thu, 8 Sep 2022 18:22:33 +0000
> Is this a clean (re)build?  (fresh clone or "make distclean")

Yes, I did the following at the top-level of base
git pull
git checkout R7.0.7
git submodule update

git status shows no modified files in configure/os.  Then I did:

make realclean
make realuninstall
make -sj

Mark


-----Original Message-----
From: Michael Davidsaver <mdavidsaver at gmail.com> 
Sent: Thursday, September 8, 2022 12:50 PM
To: Mark Rivers <rivers at cars.uchicago.edu>
Cc: core-talk at aps.anl.gov
Subject: Re: readline in base 7.0.7

On 9/8/22 10:40, Mark Rivers via Core-talk wrote:
> I just built base 7.0.7 on Centos 7 with no changes to the files in configure/os.
> 
> My IOCs now are not built with libreadline, while in base 7.0.6.1 they were, again with no changes to the configure/os files.

Is this a clean (re)build?  (fresh clone or "make distclean")

...
> This should not effect sites which set explicitly set COMMANDLINE_LIBRARY as the only definition in Base now has the form COMMANDLINE_LIBRARY ?= ....
> 
> I interpret the first sentence here to mean that the test for 
> COMMANDLINE_LIBRARY is done in the compiler if possible, but it does 
> not say that the previous way of doing it in the CONFIG_SITE file (for 
> older compilers) has been removed

The automatic detection logic should emit a "?=" assignment.


> $ grep COMMAND configure/O.*/TOOLCHAIN.* 
> configure/O.linux-x86_64-debug/TOOLCHAIN.linux-x86_64.linux-x86_64-deb
> ug:COMMANDLINE_LIBRARY ?= READLINE 
> configure/O.linux-x86_64/TOOLCHAIN.linux-x86_64.linux-x86_64:COMMANDLI
> NE_LIBRARY ?= READLINE 
> configure/O.RTEMS-mvme3100/TOOLCHAIN.linux-x86_64.RTEMS-mvme3100:COMMA
> NDLINE_LIBRARY ?= EPICS 
> configure/O.windows-x64-mingw/TOOLCHAIN.linux-x86_64.windows-x64-mingw
> :COMMANDLINE_LIBRARY ?= EPICS

So other forms of definition "=" or from the command line should take precedence.


> Does this mean that I now need to edit CONFIG_SITE.Common.linux-x86_64 to manually set COMMANDLINE_LIBRARY?

You should not have to make any change to configure/ files.

References:
readline in base 7.0.7 Mark Rivers via Core-talk
Re: readline in base 7.0.7 Michael Davidsaver via Core-talk

Navigate by Date:
Prev: Re: readline in base 7.0.7 Michael Davidsaver via Core-talk
Next: Re: readline in base 7.0.7 Michael Davidsaver via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024  2025 
Navigate by Thread:
Prev: Re: readline in base 7.0.7 Michael Davidsaver via Core-talk
Next: Re: readline in base 7.0.7 Michael Davidsaver via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024  2025