Project

General

Profile

Bug #1968

Some libraries are built as shared libraries even without --build-shared

Added by Matthias Diener 3 months ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
08/22/2018
Due date:
% Done:

0%


Description

At least the following seem to be always built as shared libraries:
  • hwloc
  • QuickThreads
The following build standalone shared libraries in the style of MPI user code and should not be affected by any changes to the above:
  • one of the AMPI privatization tests

History

#1 Updated by Sam White 3 months ago

The AMPI privatization test is meant to be built as a shared object always, to test that privatizing global variables in shared objects works.

#2 Updated by Matthias Diener 3 months ago

Would it make sense to do this privatization test only when compiling with --build-shared?

#3 Updated by Sam White 3 months ago

That test is building a library as a shared object, it doesn't matter how AMPI is built. You should always be able to build an application with a shared object linked into it no matter how you built the (A)MPI library.

#4 Updated by Evan Ramos 3 months ago

  • Description updated (diff)

Also available in: Atom PDF