mirror of
https://gitee.com/openharmony/third_party_opencl-headers
synced 2024-11-23 07:02:45 +00:00
commit
25f17de131
11
build.py
11
build.py
@ -1,11 +0,0 @@
|
||||
from cpt.packager import ConanMultiPackager
|
||||
import datetime
|
||||
|
||||
if __name__ == "__main__":
|
||||
builder = ConanMultiPackager(
|
||||
username="khronos",
|
||||
login_username="khronos",
|
||||
channel="stable"
|
||||
)
|
||||
builder.add_common_builds()
|
||||
builder.run()
|
23
conanfile.py
23
conanfile.py
@ -1,23 +0,0 @@
|
||||
from conans import ConanFile, tools, CMake
|
||||
import os
|
||||
|
||||
|
||||
class OpenCLHeadersConan(ConanFile):
|
||||
name = "opencl-headers"
|
||||
version = "20190502"
|
||||
license = "Apache-2.0"
|
||||
author = "Khronos Group <webmaster@khronos.org>"
|
||||
url = "https://github.com/KhronosGroup/OpenCL-ICD-Loader"
|
||||
description = "Khronos OpenCL Headers"
|
||||
topics = ("khronos", "opencl", "headers")
|
||||
exports_sources = "CMakeLists.txt", "CL/*"
|
||||
no_copy_source = True
|
||||
|
||||
def build(self):
|
||||
cmake = CMake(self)
|
||||
cmake.configure()
|
||||
cmake.build()
|
||||
cmake.install()
|
||||
|
||||
def package_id(self):
|
||||
self.info.header_only()
|
Loading…
Reference in New Issue
Block a user