Re: [AMBER-Developers] CMake in Amber

From: Scott Brozell <sbrozell.comcast.net>
Date: Mon, 5 Apr 2021 14:32:40 -0400

Hi,

1. For the help that i needed testing: a search of CMake-Common-Options for
either boost or verbose showed, eg, Search string 'boost' not found.

2. FWIW, i prefer command line accessible plain text help. Although, eg,
elinks works on those wiki pages, they are ok for searching but difficult
to read.

3. Some complaints about legacy configure should be viewed as facetious
since I've been told for years not to spend any time on configure.

4. Why did Elizabeth the brown chicken cross the road ?
She was armed with a list:
How do i love the other side ? Let me count the ways.

scott

On Mon, Apr 05, 2021 at 10:20:28AM -0700, Scott Le Grand wrote:
> Oops, my failing AARP cataracted corneal crapified eyes strike again, but I
> can still code like Billy Joel can still play piano so all is good.
>
> On Mon, Apr 5, 2021 at 10:17 AM Adrian Roitberg <roitberg.ufl.edu> wrote:
>
> > Yes, David wrote in his email:
> >
> > "p.s. the links above are printed out at the very beginning of every CMake
> > run. See also Section 2.2 of the Amber Reference Manual."
> >
> > Adrian
> >
> >
> > On 4/5/21 1:13 PM, Scott Le Grand wrote:
> > > [External Email]
> > >
> > > Maybe print out the link to the wiki during cmake?
> > >
> > > On Mon, Apr 5, 2021 at 9:50 AM David A Case <david.case.rutgers.edu>
> > wrote:
> > >
> > >> On Mon, Apr 05, 2021, Adrian Roitberg wrote:
> > >>
> > >>> What would be really good to have is something like the old configure
> > -h
> > >>> or --help, but for Cmake, so one can have a simple list of options for
> > >>> building some things but not others, etc.
> > >> We are using the wiki rather than a --help option for this purpose. Two
> > >> pages are good starting points:
> > >>
> > >>
> > https://urldefense.proofpoint.com/v2/url?u=https-3A__ambermd.org_pmwiki_pmwiki.php_Main_CMake-2DQuick-2DStart&d=DwICAg&c=sJ6xIWYx-zLMB3EPkvcnVg&r=dl7Zd5Rzbdvo14I2ndQf4w&m=sft1OHe_xX-GDM4uHPVPEHsvLe7e2Lq8-nbjtfnJ0WU&s=Hy8rovsFvIKmrfvIcSCBkQWyB4BnnM4NkLkrYJMfk8w&e=
> > >>
> > >> is a good overview. It has an FAQ with answers to questions such as
> > >> "How can I build only one specific program?" or "I want to see what
> > >> commands
> > >> make is actually executing!"
> > >>
> > >> Also very helpful is this one:
> > >>
> > >>
> > https://urldefense.proofpoint.com/v2/url?u=https-3A__ambermd.org_pmwiki_pmwiki.php_Main_CMake-2DCommon-2DOptions&d=DwICAg&c=sJ6xIWYx-zLMB3EPkvcnVg&r=dl7Zd5Rzbdvo14I2ndQf4w&m=sft1OHe_xX-GDM4uHPVPEHsvLe7e2Lq8-nbjtfnJ0WU&s=z9qXCLM0idv4EG9e8ly2GzBrW1nzinOSFCiw5X1xAgg&e=
> > >>
> > >> This shows you how to ask for the most common changes, such as how to
> > skip
> > >> certain builds, change what libraries are used, change compiler flags,
> > etc.
> > >>
> > >> If you look at the table of contents at the left of any of these pages,
> > you
> > >> will see several other CMake related pages.
> > >>
> > >> For everyone: please note that these are wiki pages! If there is
> > something
> > >> that is unclear, or is missing, please edit things to make them better.
> > >>
> > >> ...hope this helps....dac
> > >>
> > >> p.s. the links above are printed out at the very beginning of every
> > CMake
> > >> run. See also Section 2.2 of the Amber Reference Manual.
> > >>
> > >> p.p.s. Note that the current output of configure --help is 54 lines
> > long,
> > >> and that of configure --full-help (which is needed to get help for any
> > but
> > >> the most elementary subjects) is 154 lines. Also note that things like
> > >> compiler info in the help output are 4-5 years out of date, and other
> > >> pieces
> > >> of information in the current help output are also wrong or misleading.
> > >> So,
> > >> in my view, using a wiki is a better way to make things easy to read,
> > and
> > >> to keep them up to date.
> > >>
> > >> Finally, the current configure help doesn't even try to answer Adrian's
> > >> question about "building some things but not others". The answer for
> > the
> > >> legacy configure system is this "find the relevant Makefile, and edit
> > it."
> > >> For CMake, you add an option to your run_cmake script.

_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Mon Apr 05 2021 - 12:00:03 PDT
Custom Search