octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #59373] [MXE] for dependencies that use cmake,


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #59373] [MXE] for dependencies that use cmake, don't build static libraries
Date: Thu, 29 Oct 2020 09:34:20 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Follow-up Comment #13, bug #59373 (project octave):

I'm also a bit confused now about what is happening.

Previously, I thought we could just specify the BUILD_SHARED/BUILD_STATIC
options in the cmake toolchain file, so if we need to use the -D options on
the command line, I guess the options in the toolchain file are ignored now? 
I also thought that if BUILD_STATIC was off, then we wouldn't be building
static libs.  Now we need to also use -DONLY_SHARED_LIBS=ON?

In any case, it would be good to have a consistent solution for all packages
that use cmake and to avoid creating and distributing static library files
that aren't needed.

I'm testing the attached change to see whether it avoids the policy warning
and does the right thing for creating shared but not static libraries.



(file #50162)
    _______________________________________________________

Additional Item Attachment:

File name: cmake-shared-diffs.txt         Size:16 KB
    <https://file.savannah.gnu.org/file/cmake-shared-diffs.txt?file_id=50162>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59373>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]