diff options
author | Viet-Hoa Do <viet-hoa.do@arm.com> | 2023-07-03 13:44:43 +0100 |
---|---|---|
committer | Viet-Hoa Do <viet-hoa.do@arm.com> | 2023-07-06 09:35:02 +0000 |
commit | ce3c48c7af02555f81c0f5e7ef2677916cecef34 (patch) | |
tree | a4bf4a6f46bd44655129bf03ee5771e56edd33bd /SConstruct | |
parent | 9b392d7113aa181fdadbedcd4910e75ce23c0b3e (diff) | |
download | ComputeLibrary-ce3c48c7af02555f81c0f5e7ef2677916cecef34.tar.gz |
Move CKW prototype to separate directory
Partially resolves: COMPMID-6283
Signed-off-by: Viet-Hoa Do <viet-hoa.do@arm.com>
Change-Id: I7596e3dc357d6f0b9cbe66534523943a73c26d81
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/9864
Reviewed-by: SiCong Li <sicong.li@arm.com>
Reviewed-by: Jakub Sujak <jakub.sujak@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Benchmark: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct index 4994972172..4ab9fdd66a 100644 --- a/SConstruct +++ b/SConstruct @@ -160,7 +160,7 @@ install_path = env['install_dir'] if not env['install_dir'].startswith('/') and install_path != "": install_path = "%s/%s" % (build_path, install_path) -env.Append(LIBPATH = [build_path]) +env.Append(LIBPATH = [build_path, os.path.join(build_path, "prototype")]) Export('env') Export('vars') @@ -432,7 +432,7 @@ if env['experimental_dynamic_fusion']: CKW_ENABLE_ASSERTS = env['debug'] or env['asserts'] CKW_PROJECT_DIR = Dir('.').path + "/compute_kernel_writer" - CKW_INCLUDE_DIR = CKW_PROJECT_DIR + "/include" + CKW_INCLUDE_DIR = CKW_PROJECT_DIR + "/prototype/include" CKW_BUILD_DIR = build_path.replace("#", "") CKW_CMAKE_CMD = "CC={CKW_CC} CXX={CKW_CXX} cmake -G \"Unix Makefiles\" " \ @@ -440,6 +440,7 @@ if env['experimental_dynamic_fusion']: "-DCMAKE_BUILD_TYPE={CKW_BUILD_TYPE} " \ "-DCKW_ENABLE_OPENCL={CKW_ENABLE_OPENCL} " \ "-DCKW_ENABLE_ASSERTS={CKW_ENABLE_ASSERTS} " \ + "-DCKW_BUILD_PROTOTYPE=ON " \ "-DCKW_CCACHE={CKW_CCACHE} ".format(CKW_CC=CKW_CC, CKW_CXX=CKW_CXX, CKW_PROJECT_DIR=CKW_PROJECT_DIR, |