sfizz icon indicating copy to clipboard operation
sfizz copied to clipboard

It's not clear from the configure log whether bundled or external libraries are used

Open yurivict opened this issue 1 year ago • 2 comments

I added SFIZZ_USE_SYSTEM_ABSEIL=ON but configure doesn't confirm that the external abseil is used. It's unclear whether it was found or not or whether it was disabled or not. Binaries aren't linked with libabsl_xx.so

/bin/mkdir -p /disk-samsung/freebsd-ports/audio/sfizz/work/.build
-- The CXX compiler identification is Clang 14.0.5
-- The C compiler identification is Clang 14.0.5
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test SFIZZ_HAVE_CXX17_ALIGNED_NEW
-- Performing Test SFIZZ_HAVE_CXX17_ALIGNED_NEW - Success
-- Have C warning -Wall: TRUE
-- Have C warning -Wextra: TRUE
-- Have C warning -Wno-multichar: TRUE
-- Have C warning -Werror=return-type: TRUE
-- Have C++ warning -Wall: TRUE
-- Have C++ warning -Wextra: TRUE
-- Have C++ warning -Wno-multichar: TRUE
-- Have C++ warning -Werror=return-type: TRUE
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Found Threads: TRUE  
-- Found OpenMP_C: -fopenmp=libomp (found version "5.0") 
-- Found OpenMP_CXX: -fopenmp=libomp (found version "5.0") 
-- Found OpenMP: TRUE (found version "5.0")  
-- Looking for sin in m
-- Looking for sin in m - found
-- Found PkgConfig: /usr/local/bin/pkgconf (found version "1.8.0") 
-- Checking for module 'jack'
--   Found jack, version 1.9.21
-- Checking for module 'samplerate'
--   Found samplerate, version 0.2.2
-- 
LTO enabled.
-- Enabling LTO on sfizz_shared
-- Enabling LTO on sfizz_jack
-- Enabling LTO on sfizz_render
-- Found X11: /usr/local/include   
-- Looking for XOpenDisplay in /usr/local/lib/libX11.so;/usr/local/lib/libXext.so
-- Looking for XOpenDisplay in /usr/local/lib/libX11.so;/usr/local/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found Freetype: /usr/local/lib/libfreetype.so (found version "2.12.1") 
-- Checking for module 'xcb'
--   Found xcb, version 1.15
-- Checking for module 'xcb-util'
--   Found xcb-util, version 0.4.0
-- Checking for module 'xcb-cursor'
--   Found xcb-cursor, version 0.1.3
-- Checking for module 'xcb-keysyms'
--   Found xcb-keysyms, version 0.4.0
-- Checking for module 'xcb-xkb'
--   Found xcb-xkb, version 1.15
-- Checking for module 'xkbcommon'
--   Found xkbcommon, version 1.4.1
-- Checking for module 'xkbcommon-x11'
--   Found xkbcommon-x11, version 1.4.1
-- Checking for module 'cairo'
--   Found cairo, version 1.17.4
-- Checking for modules 'pangocairo;pangoft2'
--   Found pangocairo, version 1.50.7
--   Found pangoft2, version 1.50.7
-- Checking for module 'fontconfig'
--   Found fontconfig, version 2.13.94
-- Checking for module 'glib-2.0'
--   Found glib-2.0, version 2.72.2
-- Have C warning -Wno-deprecated-copy: TRUE
-- Have C warning -Wno-deprecated-declarations: TRUE
-- Have C warning -Wno-extra: TRUE
-- Have C warning -Wno-ignored-qualifiers: TRUE
-- Have C warning -Wno-reorder: TRUE
-- Have C warning -Wno-sign-compare: TRUE
-- Have C warning -Wno-unknown-pragmas: TRUE
-- Have C warning -Wno-unused-function: TRUE
-- Have C warning -Wno-unused-parameter: TRUE
-- Have C warning -Wno-unused-variable: TRUE
-- Have C++ warning -Wno-deprecated-copy: TRUE
-- Have C++ warning -Wno-deprecated-declarations: TRUE
-- Have C++ warning -Wno-extra: TRUE
-- Have C++ warning -Wno-ignored-qualifiers: TRUE
-- Have C++ warning -Wno-reorder: TRUE
-- Have C++ warning -Wno-sign-compare: TRUE
-- Have C++ warning -Wno-unknown-pragmas: TRUE
-- Have C++ warning -Wno-unused-function: TRUE
-- Have C++ warning -Wno-unused-parameter: TRUE
-- Have C++ warning -Wno-unused-variable: TRUE
-- Checking for module 'gio-2.0'
--   Found gio-2.0, version 2.72.2
-- Enabling LTO on sfizz_lv2
-- Enabling LTO on sfizz_lv2_ui
-- The system architecture is: amd64
-- The VST3 architecture is deduced as: x86_64
-- Have C warning -Wno-class-memaccess: FALSE
-- Have C++ warning -Wno-class-memaccess: FALSE
-- Enabling LTO on sfizz_vst3
-- 
Project name:                  sfizz
Build type:                    Release
Build processor:               amd64
Build using LTO:               ON
Build as shared library:       ON
Build JACK stand-alone client: true
Build render client:           ON
Build LV2 plug-in:             true
Build LV2 user interface:      ON
Build VST plug-in:             true
Build AU plug-in:              OFF
Build benchmarks:              OFF
Build tests:                   OFF
Build demos:                   OFF
Build devtools:                OFF
Use sndfile:                   OFF
Use vcpkg:                     OFF
Statically link dependencies:  OFF
Use clang libc++:              OFF
Release asserts:               OFF

Install prefix:                /usr/local
LV2 destination directory:     /usr/local/lib/lv2
LV2 plugin-side CC automation  ON

Compiler CXX debug flags:      -O2 -pipe -fno-omit-frame-pointer -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fno-omit-frame-pointer  -isystem /usr/local/include
Compiler CXX release flags:    -O2 -pipe -fno-omit-frame-pointer -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fno-omit-frame-pointer  -isystem /usr/local/include
Compiler CXX min size flags:   -Os -DNDEBUG

yurivict avatar Aug 02 '22 18:08 yurivict

I tried to build sfizz using the command cmake -DSFIZZ_JACK=OFF -DSFIZZ_RENDER=OFF -DSFIZZ_USE_SYSTEM_ABSEIL=ON .., then used ldd against the built library and it lists all the absl system libraries required. Maybe the reason why Abseil gives no CMake log message might be caused by the nature of its CMakeFile.

redtide avatar Aug 02 '22 21:08 redtide

Maybe the reason why Abseil gives no CMake log message might be caused by the nature of its CMakeFile.

CMakeLists.txt should print a summary what dependencies are found/used and where are they coming from.

yurivict avatar Aug 02 '22 21:08 yurivict