From f6202bc75807a7a5078e43ef4a731784fbc5fccc Mon Sep 17 00:00:00 2001 From: Lostoner Date: Sun, 25 Jun 2023 14:42:13 +0800 Subject: [PATCH 1/2] add bundle.json Signed-off-by: Lostoner --- bundle.json | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 bundle.json diff --git a/bundle.json b/bundle.json new file mode 100644 index 0000000..f520702 --- /dev/null +++ b/bundle.json @@ -0,0 +1,33 @@ +{ + "name": "@ohos/opencl-headers", + "description": "This repository contains C language headers for the OpenCL API.", + "version": "2.2", + "license": "Apache License 2.0", + "publishAs": "code-segment", + "segment": { + "destPath": "third_party/opencl-headers" + }, + "dirs": {}, + "scripts": {}, + "readmePath": { + "en": "README.md" + }, + "component": { + "name": "opencl-headers", + "subsystem": "thirdparty", + "syscap": [], + "features": [], + "adapted_system_type": [ "standard" ], + "rom": "", + "ram": "", + "deps": { + "components": [], + "third_party": [] + }, + "build": { + "sub_component": [], + "inner_kits": [], + "test": [] + } + } +} \ No newline at end of file -- Gitee From fd653da94fe33aac786ad8d717aa7bbd1912e8a7 Mon Sep 17 00:00:00 2001 From: Lostoner Date: Mon, 26 Jun 2023 10:08:11 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9BUILD.gn=E7=9A=84output?= =?UTF-8?q?=5Fname=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lostoner --- BUILD.gn | 2 +- bundle.json | 33 --------------------------------- 2 files changed, 1 insertion(+), 34 deletions(-) delete mode 100644 bundle.json diff --git a/BUILD.gn b/BUILD.gn index 7acf616..def486c 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -33,7 +33,7 @@ ohos_shared_library("libcl") { sources = [ "src/opencl_wrapper.cpp" ] configs = [ ":cl_config" ] public_configs = [ ":cl_public_config" ] - output_name = "OpenCL" + output_name = "opencl_wrapper" output_extension = "so" part_name = "opencl-headers" subsystem_name = "resourceschedule" diff --git a/bundle.json b/bundle.json deleted file mode 100644 index f520702..0000000 --- a/bundle.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "name": "@ohos/opencl-headers", - "description": "This repository contains C language headers for the OpenCL API.", - "version": "2.2", - "license": "Apache License 2.0", - "publishAs": "code-segment", - "segment": { - "destPath": "third_party/opencl-headers" - }, - "dirs": {}, - "scripts": {}, - "readmePath": { - "en": "README.md" - }, - "component": { - "name": "opencl-headers", - "subsystem": "thirdparty", - "syscap": [], - "features": [], - "adapted_system_type": [ "standard" ], - "rom": "", - "ram": "", - "deps": { - "components": [], - "third_party": [] - }, - "build": { - "sub_component": [], - "inner_kits": [], - "test": [] - } - } -} \ No newline at end of file -- Gitee