diff options
Diffstat (limited to 'src/backends/aclCommon/common.mk')
-rw-r--r-- | src/backends/aclCommon/common.mk | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/backends/aclCommon/common.mk b/src/backends/aclCommon/common.mk index b113269df9..a5ef90038a 100644 --- a/src/backends/aclCommon/common.mk +++ b/src/backends/aclCommon/common.mk @@ -1,5 +1,5 @@ # -# Copyright © 2017 ARM Ltd. All rights reserved. +# Copyright © 2017,2023 Arm Ltd and Contributors. All rights reserved. # SPDX-License-Identifier: MIT # @@ -9,9 +9,13 @@ COMMON_SOURCES := \ ArmComputeTensorUtils.cpp \ - ArmComputeTuningUtils.cpp \ BaseMemoryManager.cpp +ifeq ($(ARMNN_COMPUTE_CL_ENABLED),1) +COMMON_SOURCES += \ + ArmComputeTuningUtils.cpp +endif # ARMNN_COMPUTE_CL_ENABLED == 1 + # COMMON_TEST_SOURCES contains the list of files to be included # in the Android unit test build (armnn-tests) and it is picked # up by the Android.mk file in the root of ArmNN |