aboutsummaryrefslogtreecommitdiff
path: root/tests/framework/instruments
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2020-12-30 00:03:09 +0000
committerGeorgios Pinitas <georgios.pinitas@arm.com>2021-01-13 17:00:15 +0000
commit45514031440880a9eecd2a8461e6741569d8119a (patch)
treecb1ade8c6d87a5092bdba66161350a5f5ccf286d /tests/framework/instruments
parentfefd16acf472dc7fddc57aab3773f2dec6602b20 (diff)
downloadComputeLibrary-45514031440880a9eecd2a8461e6741569d8119a.tar.gz
Add support for macOS
* Add 'macos' as an additional OS build option * Guard unsupported paths like thread scheduling control and hwcaps checking with the __APPLE__ macro * Map linker options to respective Mach-O linker options Change-Id: I67bd9fa3c20831427b218ca7d3b4b9d454ab4fec Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4788 Reviewed-by: Sang-Hoon Park <sang-hoon.park@arm.com> Reviewed-by: Giorgio Arena <giorgio.arena@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'tests/framework/instruments')
-rw-r--r--tests/framework/instruments/Instruments.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/framework/instruments/Instruments.h b/tests/framework/instruments/Instruments.h
index 135810c644..8a6cec0e9c 100644
--- a/tests/framework/instruments/Instruments.h
+++ b/tests/framework/instruments/Instruments.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017-2019 Arm Limited.
+ * Copyright (c) 2017-2021 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -24,12 +24,12 @@
#ifndef ARM_COMPUTE_TEST_INSTRUMENTS
#define ARM_COMPUTE_TEST_INSTRUMENTS
-#if !defined(BARE_METAL)
+#if !defined(BARE_METAL) && !defined(__APPLE__)
#include "MaliCounter.h"
#include "OpenCLMemoryUsage.h"
#include "OpenCLTimer.h"
#include "PMUCounter.h"
-#endif /* !defined(BARE_METAL) */
+#endif /* !defined(BARE_METAL) && !defined(__APPLE__) */
#include "SchedulerTimer.h"
#include "WallClockTimer.h"