From 4a6bde3ea3dd8c2efdd09c8d534837957767e6a2 Mon Sep 17 00:00:00 2001 From: Raghunandan Netrapalli Madhusudhan <raghunandan.madhusudhan@in-tech.com> Date: Thu, 6 Feb 2025 13:53:39 +0100 Subject: [PATCH] fix(CI): Remove trailing white spaces and fix indent --- cmake/HelperMacros.cmake | 2 +- cmake/global.cmake | 20 ++++++++++---------- doc/source/index.rst | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/cmake/HelperMacros.cmake b/cmake/HelperMacros.cmake index ede532857..61adeb3ad 100644 --- a/cmake/HelperMacros.cmake +++ b/cmake/HelperMacros.cmake @@ -1,7 +1,7 @@ ################################################################################ # Copyright (c) 2020-2024 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) # 2020 HLRS, University of Stuttgart -# 2024 Volkswagen AG +# 2024 Volkswagen AG # # This program and the accompanying materials are made available under the # terms of the Eclipse Public License 2.0 which is available at diff --git a/cmake/global.cmake b/cmake/global.cmake index 146086955..5eb607cdf 100644 --- a/cmake/global.cmake +++ b/cmake/global.cmake @@ -131,17 +131,17 @@ else() set(CMAKE_INSTALL_PREFIX "/openPASS" CACHE PATH "Destination directory") add_compile_definitions(unix) if(WITH_ADDRESS_SANITIZER OR WITH_MEMORY_SANITIZER) - if(WITH_ADDRESS_SANITIZER) - add_compile_options(-fsanitize=address -fno-omit-frame-pointer -fno-optimize-sibling-calls) - add_link_options(-fsanitize=address) + if(WITH_ADDRESS_SANITIZER) + add_compile_options(-fsanitize=address -fno-omit-frame-pointer -fno-optimize-sibling-calls) + add_link_options(-fsanitize=address) + endif() + if(WITH_MEMORY_SANITIZER) + add_compile_options(-fsanitize=memory -fno-omit-frame-pointer -fno-optimize-sibling-calls) + add_link_options(-fsanitize=memory) + endif() + else() + add_link_options(LINKER:-z,defs) # fail during link time on undefined references (instead of runtime) endif() - if(WITH_MEMORY_SANITIZER) - add_compile_options(-fsanitize=memory -fno-omit-frame-pointer -fno-optimize-sibling-calls) - add_link_options(-fsanitize=memory) - endif() -else() - add_link_options(LINKER:-z,defs) # fail during link time on undefined references (instead of runtime) -endif() option(OPENPASS_ADJUST_OUTPUT "Adjust output directory" OFF) endif() diff --git a/doc/source/index.rst b/doc/source/index.rst index 8274eb7c2..238ecf918 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -13,7 +13,7 @@ openPASS Documentation ====================== -The openPASS (Open Platform for Assessment of Safety Systems) tool is a developed framework for the simulation of interaction between traffic participants to evaluate and parametrize active safety systems. +The openPASS (Open Platform for Assessment of Safety Systems) tool is a developed framework for the simulation of interaction between traffic participants to evaluate and parametrize active safety systems. The simulation is based on a specific situation configuration and can contain several simulation runs, which differ due to random parameters. The software suite of openPASS started as a set of stand-alone applications, which can be installed and configured individually. -- GitLab