Project

General

Profile

Design #1696

Which BOOST libs are actually needed?

Added by John Abbott over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Cleaning
Target version:
Start date:
18 Aug 2022
Due date:
% Done:

100%

Estimated time:
2.49 h
Spent time:

Description

Currently we require the following BOOST sub-libs:
  • filesystem
  • threads
  • system

A quick check suggested that we do not need system any longer (did we ever?)
Do a more thorough check!


Related issues

Related to CoCoA-5 - Bug #1695: boost-find-lib.shClosed2022-08-16

Related to CoCoA-5 - Design #1697: Specifying BOOST in configureClosed2022-08-18

Related to CoCoALib - Support #1700: boost_1_80_0Closed2022-10-14

Related to CoCoALib - Bug #1600: Detect updated versions of external libsIn Progress2021-06-14

History

#1 Updated by John Abbott over 1 year ago

  • Related to Bug #1695: boost-find-lib.sh added

#2 Updated by John Abbott over 1 year ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 30

I have just edited autoconf.mk to remove the BOOST sub-libs system and threads.
Everything compiled. All CoCoA-5 tests passed!

#3 Updated by John Abbott over 1 year ago

  • Assignee set to John Abbott

On my Ubuntu box, it seems that just BOOST filesystem is needed.
I did a reconfigure (with debugging on), after modifying configure (and boost-find-libs.sh) to request just boost_filesystem.
Everything compiled (incl. Qt-gui), and all tests passed. And the Qt GUI seemed to work
(just some simple tests -- it was impressively slow with debugging turned on)

#4 Updated by John Abbott over 1 year ago

  • Related to Design #1697: Specifying BOOST in configure added

#5 Updated by John Abbott over 1 year ago

I am using BOOST 1.80 compiled from source and with a standard installation (in /usr/local/ on Ubuntu).

#6 Updated by John Abbott over 1 year ago

  • % Done changed from 30 to 50

Anna confirms that only BOOST filesystem is needed on MacOS.

#7 Updated by John Abbott over 1 year ago

  • Status changed from In Progress to Feedback
  • % Done changed from 50 to 90

Our tests seem to comfirm no problems (at least with recent BOOST, around 1.80).
We must update the doc.

#8 Updated by Anna Maria Bigatti over 1 year ago

#9 Updated by John Abbott over 1 year ago

Nico Mexis confirms that both filesystem and system are needed on Cygwin -- because it has boost 1.66
I have a similar problem on my small blue computer (boost 1.67).

So for the time being I have to put system back into the requirements, I fear (sigh!)
I suppose I'll also forget to remove the requirement at some future point...

#10 Updated by John Abbott over 1 year ago

  • Related to Bug #1600: Detect updated versions of external libs added

#11 Updated by John Abbott about 1 year ago

  • Status changed from Feedback to Closed
  • % Done changed from 90 to 100
  • Estimated time set to 2.49 h

Also available in: Atom PDF