aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichalis Spyrou <michalis.spyrou@arm.com>2020-11-06 18:51:05 +0000
committerMichalis Spyrou <michalis.spyrou@arm.com>2020-11-09 10:52:22 +0000
commit94e25636f89aecaad1ef9ccc6738bdd4af9a04b1 (patch)
tree9bca616c52a88020f386ab91df378637ea3e517c
parent18bdfaefd3aeb2557c2e484b67b06c515f9a120f (diff)
downloadComputeLibrary-94e25636f89aecaad1ef9ccc6738bdd4af9a04b1.tar.gz
COMPMID-3599: Remove symlink deletion
This creates problems on older scons versions as it removes graph.so library from the build folder Signed-off-by: Michalis Spyrou <michalis.spyrou@arm.com> Change-Id: I0af027a50ffbd4a16b6ad227ea956beb01832f31 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4346 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
-rw-r--r--SConscript14
1 files changed, 0 insertions, 14 deletions
diff --git a/SConscript b/SConscript
index 6ba9fb6f12..25196c42ce 100644
--- a/SConscript
+++ b/SConscript
@@ -48,20 +48,6 @@ def build_library(name, sources, static=False, libs=[]):
else:
if env['set_soname']:
obj = arm_compute_env.SharedLibrary(name, source=sources, SHLIBVERSION = SONAME_VERSION, LIBS = arm_compute_env["LIBS"] + libs)
-
- symlinks = []
- # Manually delete symlinks or SCons will get confused:
- directory = os.path.dirname(obj[0].path)
- library_prefix = obj[0].path[:-(1 + len(SONAME_VERSION))]
- real_lib = "%s.%s" % (library_prefix, SONAME_VERSION)
-
- for f in Glob("#%s.*" % library_prefix):
- if str(f) != real_lib:
- symlinks.append("%s/%s" % (directory,str(f)))
-
- clean = arm_compute_env.Command('clean-%s' % str(obj[0]), [], Delete(symlinks))
- Default(clean)
- Depends(obj, clean)
else:
obj = arm_compute_env.SharedLibrary(name, source=sources, LIBS = arm_compute_env["LIBS"] + libs)