fritzkink
2023-12-26 c3a1193deaa3a46b90c82aa59a5acf9cff2942b4
components/developer/valgrind/Makefile
@@ -23,20 +23,18 @@
# Copyright (c) 2015-2017 Aurelien Larcher. All rights reserved.
# Copyright (c) 2019 Michal Nowak
# Copyright (c) 2021 David Stes
# Copyright (c) 2022 Friedrich Kink
# Copyright (c) 2022,2023 Friedrich Kink
#
BUILD_BITS= 64
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME=      valgrind
COMPONENT_VERSION=   3.19.0
COMPONENT_VERSION=   3.22.0
COMPONENT_FMRI=      developer/debug/valgrind
COMPONENT_CLASSIFICATION=Development/System
COMPONENT_SRC=      $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE=   $(COMPONENT_SRC).tar.bz2
COMPONENT_ARCHIVE_HASH=   sha256:dd5e34486f1a483ff7be7300cc16b4d6b24690987877c3278d797534d6738f02
COMPONENT_ARCHIVE_HASH=   sha256:c811db5add2c5f729944caf47c4e7a65dcaabb9461e472b578765dd7bf6d2d4c
COMPONENT_ARCHIVE_URL=   https://sourceware.org/pub/valgrind/$(COMPONENT_ARCHIVE)
COMPONENT_PROJECT_URL =   https://valgrind.org
COMPONENT_SUMMARY=   Valgrind: instrumentation framework and tools to detect memory and threading problems
@@ -51,10 +49,6 @@
COMPONENT_PRE_CONFIGURE_ACTION = \
   ( $(CLONEY) $(SOURCE_DIR) $(@D) )
# Force use of GCC with given arch support
CC=$(CC.gcc.$(BITS)) $(CC_BITS) -std=gnu99
CXX=$(CC.g++.$(BITS)) $(CC_BITS)
# Flags are inferred from CC and tests rely on sigaction
CFLAGS= -D__EXTENSIONS__
CXXFLAGS= -D__EXTENSIONS__
@@ -66,6 +60,9 @@
CONFIGURE_OPTIONS += --sbindir=$(USRSBINDIR)
CONFIGURE_OPTIONS += --libdir=$(CONFIGURE_LIBDIR.$(BITS))
CONFIGURE_OPTIONS += --libexecdir=$(CONFIGURE_LIBDIR.$(BITS))
CONFIGURE_OPTIONS += --enable-inner
CONFIGURE_OPTIONS += --enable-tls
CONFIGURE_OPTIONS += --with-mpicc=$(USRLIBDIR)/openmpi/gcc/bin/mpicc
COMPONENT_PREP_ACTION += ( cd $(@D) && ./autogen.sh )
@@ -76,8 +73,8 @@
   ( cd $(@D)/docs && $(ENV) $(GMAKE) man-pages )
#
# currently 3.17.0
# == 787 tests, 95 stderr failures, 18 stdout failures, 3 stderrB failures, 6 stdoutB failures, 7 post failures ==
# currently 3.22.0
# == 835 tests, 62 stderr failures, 14 stdout failures, 0 stderrB failures, 0 stdoutB failures, 6 post failures ==
#
COMPONENT_TEST_TARGETS = regtest
# check just overal test results
@@ -85,5 +82,8 @@
# Build dependencies
# Auto-generated dependencies
REQUIRED_PACKAGES += runtime/perl-534
REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
REQUIRED_PACKAGES += SUNWcs
REQUIRED_PACKAGES += developer/gcc-13
REQUIRED_PACKAGES += runtime/perl
REQUIRED_PACKAGES += system/library