blob: aae11dffcdb432b0ff6e60d1370ae2075b5efc19 [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001SUMMARY = "The SPIR-V Tools project provides an API and commands for \
2processing SPIR-V modules"
3DESCRIPTION = "The project includes an assembler, binary module parser, \
4disassembler, validator, and optimizer for SPIR-V."
5LICENSE = "Apache-2.0"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
7SECTION = "graphics"
8
9S = "${WORKDIR}/git"
10DEST_DIR = "${S}/external"
11SRC_URI = "git://github.com/KhronosGroup/SPIRV-Tools.git;name=spirv-tools \
12 file://0001-tools-lesspipe-Allow-generic-shell.patch \
13 git://github.com/KhronosGroup/SPIRV-Headers.git;name=spirv-headers;destsuffix=${DEST_DIR}/spirv-headers \
14 git://github.com/google/effcee.git;name=effcee;destsuffix=${DEST_DIR}/effcee \
15 git://github.com/google/re2.git;name=re2;destsuffix=${DEST_DIR}/re2 \
16 git://github.com/google/googletest.git;name=googletest;destsuffix=${DEST_DIR}/googletest \
17"
18SRCREV_spirv-tools = "167f1270a9ee641b17c016a545741e4aadfabe86"
19SRCREV_spirv-headers = "4618b86e9e4b027a22040732dfee35e399cd2c47"
20SRCREV_effcee = "8f0a61dc95e0df18c18e0ac56d83b3fa9d2fe90b"
21SRCREV_re2 = "2cf86e5ab6dcfe045a1f510c2b9a8b012a4158cd"
22SRCREV_googletest = "150613166524c474a8a97df4c01d46b72050c495"
23
24inherit cmake python3native
25
26do_install_append() {
27 install -d ${D}/${includedir}/spirv
28 install -m 0644 ${DEST_DIR}/spirv-headers/include/spirv/1.2/* ${D}/${includedir}/spirv
29}
30
31FILES_SOLIBSDEV = ""
32FILES_${PN} += "${libdir}/*.so"