Enable separatedebuginfo for common BSC packages

For now, we keep dontStrip for packages that already had it for systems
without the separatedebuginfo support.

Reviewed-By: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
Tested-By: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
This commit is contained in:
Aleix Roca Nonell 2023-11-20 15:43:29 +01:00 committed by Rodrigo Arias Mallo
parent e7bdc1595a
commit 4316e7b12d
6 changed files with 7 additions and 1 deletions

View File

@ -87,6 +87,7 @@ in
# Keep debug symbols in the debug variant of the library # Keep debug symbols in the debug variant of the library
dontStrip = enableDebug; dontStrip = enableDebug;
separateDebugInfo = true;
buildInputs = [ buildInputs = [
autoconf autoconf

View File

@ -51,6 +51,7 @@ in
enableParallelBuilding = true; enableParallelBuilding = true;
dontStrip = true; dontStrip = true;
separateDebugInfo = true;
configureFlags = [ configureFlags = [
"--with-nosv=${nosv}" "--with-nosv=${nosv}"

View File

@ -42,6 +42,7 @@ in
inherit (source) src version; inherit (source) src version;
hardeningDisable = [ "all" ]; hardeningDisable = [ "all" ];
dontStrip = true; dontStrip = true;
separateDebugInfo = true;
configureFlags = [ "--with-ovni=${ovni}" ]; configureFlags = [ "--with-ovni=${ovni}" ];
buildInputs = [ buildInputs = [
autoreconfHook autoreconfHook

View File

@ -38,6 +38,8 @@ in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "ovni"; pname = "ovni";
inherit (source) src version; inherit (source) src version;
dontStrip = true;
separateDebugInfo = true;
postPatch = '' postPatch = ''
patchShebangs --build test/ patchShebangs --build test/
''; '';
@ -47,7 +49,6 @@ in
preCheck = '' preCheck = ''
export CTEST_OUTPUT_ON_FAILURE=1 export CTEST_OUTPUT_ON_FAILURE=1
''; '';
dontStrip = true;
doCheck = true; doCheck = true;
checkTarget = "test"; checkTarget = "test";
hardeningDisable = [ "all" ]; hardeningDisable = [ "all" ];

View File

@ -16,6 +16,7 @@ stdenv.mkDerivation rec {
pname = "tagaspi"; pname = "tagaspi";
version = src.shortRev; version = src.shortRev;
enableParallelBuilding = true; enableParallelBuilding = true;
separateDebugInfo = true;
buildInputs = [ buildInputs = [
autoreconfHook autoreconfHook

View File

@ -15,6 +15,7 @@ stdenv.mkDerivation rec {
version = "2.0"; version = "2.0";
pname = "tampi"; pname = "tampi";
enableParallelBuilding = true; enableParallelBuilding = true;
separateDebugInfo = true;
buildInputs = [ autoreconfHook automake autoconf libtool gnumake boost mpi gcc ]; buildInputs = [ autoreconfHook automake autoconf libtool gnumake boost mpi gcc ];
dontDisableStatic = true; dontDisableStatic = true;