IVGCVSW-8172 Add macOS support to build tool setup
* Updates build rules for platform
* Failing unit tests excluded (dynamic backends, profiling)
* install-packages.sh generates manual setup information
Signed-off-by: Tracy Narine <tracy.narine@arm.com>
Change-Id: I2d3d434aa615a8796c0cb94cd5b9c35a5acfd148
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 29a72e3..e806735 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,5 @@
#
-# Copyright © 2017-2023 Arm Ltd and Contributors. All rights reserved.
+# Copyright © 2017-2024 Arm Ltd and Contributors. All rights reserved.
# Copyright © 2020 NXP
# SPDX-License-Identifier: MIT
#
@@ -476,10 +476,12 @@
target_compile_definitions(armnn PRIVATE "ARMNN_COMPILING_DLL")
-# Generate a map file for all build modes
-set_property(TARGET armnn APPEND_STRING PROPERTY
- LINK_FLAGS " -Wl,-Map=libarmnnMapFile.map")
-message(STATUS "Linker will generate mapfile ")
+# Generate a map file for Linux build modes
+if (NOT ("${CMAKE_SYSTEM_NAME}" STREQUAL Darwin))
+ set_property(TARGET armnn APPEND_STRING PROPERTY
+ LINK_FLAGS " -Wl,-Map=libarmnnMapFile.map")
+ message(STATUS "Linker will generate mapfile ")
+endif()
target_include_directories(armnn
PUBLIC