pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/parallel
Module Name: pkgsrc
Committed By: nia
Date: Wed Jun 9 14:55:10 UTC 2021
Modified Files:
pkgsrc/parallel: Makefile
Added Files:
pkgsrc/parallel/spirv-llvm-translator: DESCR Makefile PLIST
buildlink3.mk distinfo
pkgsrc/parallel/spirv-llvm-translator/patches: patch-CMakeLists.txt
Log Message:
add parallel/spirv-llvm-translator
The LLVM/SPIR-V Bi-Directional Translator is a library and tool for translation
between LLVM IR and SPIR-V.
SPIR-V is a binary intermediate language for representing graphical-shader
stages and compute kernels for multiple Khronos APIs, including OpenCL,
OpenGL, and Vulkan. SPIR-V defines a new language and is a successor to the
original Khronos SPIR, which supported only OpenCL device programs.
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/parallel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/parallel/spirv-llvm-translator/DESCR \
pkgsrc/parallel/spirv-llvm-translator/Makefile \
pkgsrc/parallel/spirv-llvm-translator/PLIST \
pkgsrc/parallel/spirv-llvm-translator/buildlink3.mk \
pkgsrc/parallel/spirv-llvm-translator/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/parallel/spirv-llvm-translator/patches/patch-CMakeLists.txt
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/parallel/Makefile
diff -u pkgsrc/parallel/Makefile:1.29 pkgsrc/parallel/Makefile:1.30
--- pkgsrc/parallel/Makefile:1.29 Sun Aug 9 15:51:07 2020
+++ pkgsrc/parallel/Makefile Wed Jun 9 14:55:10 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2020/08/09 15:51:07 brook Exp $
+# $NetBSD: Makefile,v 1.30 2021/06/09 14:55:10 nia Exp $
#
COMMENT= Applications dealing with parallelism in computing
@@ -25,6 +25,7 @@ SUBDIR+= pvm3
SUBDIR+= py-billiard
SUBDIR+= sge
SUBDIR+= slurm-wlm
+SUBDIR+= spirv-llvm-translator
SUBDIR+= threadingbuildingblocks
.include "../mk/misc/category.mk"
Added files:
Index: pkgsrc/parallel/spirv-llvm-translator/DESCR
diff -u /dev/null pkgsrc/parallel/spirv-llvm-translator/DESCR:1.1
--- /dev/null Wed Jun 9 14:55:10 2021
+++ pkgsrc/parallel/spirv-llvm-translator/DESCR Wed Jun 9 14:55:10 2021
@@ -0,0 +1,7 @@
+The LLVM/SPIR-V Bi-Directional Translator is a library and tool for translation
+between LLVM IR and SPIR-V.
+
+SPIR-V is a binary intermediate language for representing graphical-shader
+stages and compute kernels for multiple Khronos APIs, including OpenCL,
+OpenGL, and Vulkan. SPIR-V defines a new language and is a successor to the
+original Khronos SPIR, which supported only OpenCL device programs.
Index: pkgsrc/parallel/spirv-llvm-translator/Makefile
diff -u /dev/null pkgsrc/parallel/spirv-llvm-translator/Makefile:1.1
--- /dev/null Wed Jun 9 14:55:10 2021
+++ pkgsrc/parallel/spirv-llvm-translator/Makefile Wed Jun 9 14:55:10 2021
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2021/06/09 14:55:10 nia Exp $
+
+DISTNAME= SPIRV-LLVM-Translator-v10.0.0
+PKGNAME= ${DISTNAME:tl:S/-v/-/1}
+CATEGORIES= parallel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=KhronosGroup/}
+GITHUB_PROJECT= SPIRV-LLVM-Translator
+GITHUB_TAG= ${DISTNAME:S/SPIRV-LLVM-Translator-//1}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/KhronosGroup/SPIRV-LLVM-Translator
+COMMENT= Tool and library for translation between SPIR-V and LLVM IR
+LICENSE= modified-bsd
+
+USE_CMAKE= yes
+USE_LANGUAGES= c c++
+
+CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON
+
+PKGCONFIG_OVERRIDE+= LLVMSPIRVLib.pc.in
+
+.include "../../lang/llvm/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/parallel/spirv-llvm-translator/PLIST
diff -u /dev/null pkgsrc/parallel/spirv-llvm-translator/PLIST:1.1
--- /dev/null Wed Jun 9 14:55:10 2021
+++ pkgsrc/parallel/spirv-llvm-translator/PLIST Wed Jun 9 14:55:10 2021
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2021/06/09 14:55:10 nia Exp $
+include/LLVMSPIRVLib/LLVMSPIRVExtensions.inc
+include/LLVMSPIRVLib/LLVMSPIRVLib.h
+include/LLVMSPIRVLib/LLVMSPIRVOpts.h
+lib/libLLVMSPIRVLib.so
+lib/libLLVMSPIRVLib.so.10
+lib/pkgconfig/LLVMSPIRVLib.pc
Index: pkgsrc/parallel/spirv-llvm-translator/buildlink3.mk
diff -u /dev/null pkgsrc/parallel/spirv-llvm-translator/buildlink3.mk:1.1
--- /dev/null Wed Jun 9 14:55:10 2021
+++ pkgsrc/parallel/spirv-llvm-translator/buildlink3.mk Wed Jun 9 14:55:10 2021
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/06/09 14:55:10 nia Exp $
+
+BUILDLINK_TREE+= spirv-llvm-translator
+
+.if !defined(SPIRV_LLVM_TRANSLATOR_BUILDLINK3_MK)
+SPIRV_LLVM_TRANSLATOR_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.spirv-llvm-translator+= spirv-llvm-translator>=10.0.0
+BUILDLINK_PKGSRCDIR.spirv-llvm-translator?= ../../parallel/spirv-llvm-translator
+
+.include "../../lang/llvm/buildlink3.mk"
+
+.endif # SPIRV_LLVM_TRANSLATOR_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -spirv-llvm-translator
Index: pkgsrc/parallel/spirv-llvm-translator/distinfo
diff -u /dev/null pkgsrc/parallel/spirv-llvm-translator/distinfo:1.1
--- /dev/null Wed Jun 9 14:55:10 2021
+++ pkgsrc/parallel/spirv-llvm-translator/distinfo Wed Jun 9 14:55:10 2021
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2021/06/09 14:55:10 nia Exp $
+
+SHA1 (SPIRV-LLVM-Translator-v10.0.0.tar.gz) = 5cf0641ec14cf49cd440d2364d1de666ba62f789
+RMD160 (SPIRV-LLVM-Translator-v10.0.0.tar.gz) = 77990dd444a183e1bf46f8fda7c8051e958851cf
+SHA512 (SPIRV-LLVM-Translator-v10.0.0.tar.gz) = d6400bb3e4df780358b5d6d0af889e7654b7dfd472c8d41b77ff98e7ff1bd017c289ecacb59a3dd7bfddb1a5108e21028aa770bf645e06178610bb322de905be
+Size (SPIRV-LLVM-Translator-v10.0.0.tar.gz) = 535828 bytes
+SHA1 (patch-CMakeLists.txt) = 0ddc0228c5fd49cce32838954795fb03d3a7115d
Index: pkgsrc/parallel/spirv-llvm-translator/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/parallel/spirv-llvm-translator/patches/patch-CMakeLists.txt:1.1
--- /dev/null Wed Jun 9 14:55:10 2021
+++ pkgsrc/parallel/spirv-llvm-translator/patches/patch-CMakeLists.txt Wed Jun 9 14:55:10 2021
@@ -0,0 +1,15 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2021/06/09 14:55:10 nia Exp $
+
+We don't want the package finding ccache because pkgsrc handles
+ccache on its own.
+
+--- CMakeLists.txt.orig 2020-03-20 19:52:42.000000000 +0000
++++ CMakeLists.txt
+@@ -49,7 +49,6 @@ if(LLVM_SPIRV_BUILD_EXTERNAL)
+
+ message(STATUS "Found LLVM: ${LLVM_VERSION}")
+
+- find_program(CCACHE_EXE_FOUND ccache)
+ if(CCACHE_EXE_FOUND)
+ message(STATUS "Found ccache: ${CCACHE_EXE_FOUND}")
+ set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
Home |
Main Index |
Thread Index |
Old Index