diff options
author | Jakub Sujak <jakub.sujak@arm.com> | 2023-09-29 11:11:59 +0100 |
---|---|---|
committer | Adnan AlSinan <adnan.alsinan@arm.com> | 2023-10-03 17:40:43 +0000 |
commit | ebce28017403c3b97c2941ee4a42fcc9a94e4f0a (patch) | |
tree | 8585eaecbb0a66e3a38c1efec1e14e0922f698bf | |
parent | d82f797d8493b2223a13de503ac9bcd9a1134eed (diff) | |
download | ComputeLibrary-ebce28017403c3b97c2941ee4a42fcc9a94e4f0a.tar.gz |
Fix MacOS compilation error
The linker option '-noall_load' is obsolete.
Resolves: COMPMID-6578
Change-Id: I2d386c25b50705a25600dd612406470e1d3871be
Signed-off-by: Jakub Sujak <jakub.sujak@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/10421
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Benchmark: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Gunes Bayir <gunes.bayir@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
-rw-r--r-- | examples/SConscript | 4 | ||||
-rw-r--r-- | tests/SConscript | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/SConscript b/examples/SConscript index fd6b591891..bfac9deb2b 100644 --- a/examples/SConscript +++ b/examples/SConscript @@ -1,7 +1,7 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -# Copyright (c) 2017-2022 Arm Limited. +# Copyright (c) 2017-2023 Arm Limited. # # SPDX-License-Identifier: MIT # @@ -59,7 +59,7 @@ load_whole_archive = '-Wl,--whole-archive' noload_whole_archive = '-Wl,--no-whole-archive' if 'macos' in examples_env['os']: load_whole_archive = '-Wl,-force_load' - noload_whole_archive = '-Wl,-noall_load' + noload_whole_archive = '' # Build graph examples graph_utils = examples_env.Object("../utils/GraphUtils.cpp") diff --git a/tests/SConscript b/tests/SConscript index 33f709e454..21904899c0 100644 --- a/tests/SConscript +++ b/tests/SConscript @@ -79,7 +79,7 @@ load_whole_archive = '-Wl,--whole-archive' noload_whole_archive = '-Wl,--no-whole-archive' if 'macos' in test_env['os']: load_whole_archive = '-Wl,-force_load' - noload_whole_archive = '-Wl,-noall_load' + noload_whole_archive = '' if env['os'] in ['android', 'macos', 'bare_metal'] or env['standalone']: Import("arm_compute_a") |