From ad4f7bd98f2eb3edd2b68723acb3c5b3de4ac416 Mon Sep 17 00:00:00 2001 From: Cedric Koch-Hofer Date: Fri, 31 May 2024 12:41:01 +0000 Subject: [PATCH] DAOS-15799 build: Add libsanitize Version with protected stack and address sanitizer. Skip-test: true Required-githooks: true Signed-off-by: Cedric Koch-Hofer --- site_scons/prereq_tools/base.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/site_scons/prereq_tools/base.py b/site_scons/prereq_tools/base.py index 86d4e40f3c1..8d605956f1a 100644 --- a/site_scons/prereq_tools/base.py +++ b/site_scons/prereq_tools/base.py @@ -1,4 +1,4 @@ -# Copyright 2016-2023 Intel Corporation +# Copyright 2016-2024 Intel Corporation # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -443,9 +443,9 @@ def __init__(self, env, opts): opts.Add('USE_INSTALLED', 'Comma separated list of preinstalled dependencies', 'none') opts.Add(('MPI_PKG', 'Specifies name of pkg-config to load for MPI', None)) opts.Add(BoolVariable('FIRMWARE_MGMT', 'Build in device firmware management.', 0)) - opts.Add(BoolVariable('STACK_MMAP', 'Allocate ABT ULTs stacks with mmap()', 0)) + opts.Add(BoolVariable('STACK_MMAP', 'Allocate ABT ULTs stacks with mmap()', 1)) opts.Add(BoolVariable('ADDRESS_SANITIZER', - 'Instrument C code with the Address Sanitizer library', 0)) + 'Instrument C code with the Address Sanitizer library', 1)) opts.Add(EnumVariable('BUILD_TYPE', "Set the build type", 'release', ['dev', 'debug', 'release'], ignorecase=1)) opts.Add(EnumVariable('TARGET_TYPE', "Set the prerequisite type", 'default',