diff options
author | Kevin Lo <kevlo@kevlo.org> | 2022-01-07 15:46:02 +0800 |
---|---|---|
committer | Pablo Marquez Tello <pablo.tello@arm.com> | 2022-01-25 21:03:04 +0000 |
commit | 7195f71b2e44e2119b1763fde02b2cf3f9371a6b (patch) | |
tree | e9974a3e3677464ab73c3f62dc71b5920e081c1e /SConscript | |
parent | 10e88a73518932abc427e6b12d0267d5f52ac569 (diff) | |
download | ComputeLibrary-7195f71b2e44e2119b1763fde02b2cf3f9371a6b.tar.gz |
Add OpenBSD/arm64 support.
Signed-off-by: Kevin Lo <kevlo@kevlo.org>
Change-Id: I6f29bdb55caeec8893f128fdd50bdcc3d058cb3c
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/6905
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Reviewed-by: Pablo Marquez Tello <pablo.tello@arm.com>
Comments-Addressed: Pablo Marquez Tello <pablo.tello@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'SConscript')
-rw-r--r-- | SConscript | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/SConscript b/SConscript index 320538e2e5..d8dcaadd15 100644 --- a/SConscript +++ b/SConscript @@ -295,7 +295,7 @@ arm_compute_env = env.Clone() version_file = arm_compute_env.Command("src/core/arm_compute_version.embed", "", action=create_version_file) arm_compute_env.AlwaysBuild(version_file) -default_cpp_compiler = 'g++' if env['os'] not in ['android', 'macos'] else 'clang++' +default_cpp_compiler = 'g++' if env['os'] not in ['android', 'macos', 'openbsd'] else 'clang++' cpp_compiler = os.environ.get('CXX', default_cpp_compiler) # Generate embed files @@ -455,7 +455,8 @@ undefined_flag = '-Wl,-undefined,error' if 'macos' in arm_compute_env["os"] else arm_compute_env.Append(LINKFLAGS=[undefined_flag]) arm_compute_env.Append(CPPPATH =[Dir("./src/core/").path] ) -arm_compute_env.Append(LIBS = ['dl']) +if env['os'] != 'openbsd': + arm_compute_env.Append(LIBS = ['dl']) # Load build definitions file with (open(Dir('#').path + '/filedefs.json')) as fd: |