FreeBSD Bugzilla – Attachment 177029 Details for
Bug 214543
[NEW PORT] devel/ispc: Intel SPMD Program Compiler
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
shar archive
ispc.shar (text/plain), 4.42 KB, created by
Yuri Victorovich
on 2016-11-15 17:59:09 UTC
(
hide
)
Description:
shar archive
Filename:
MIME Type:
Creator:
Yuri Victorovich
Created:
2016-11-15 17:59:09 UTC
Size:
4.42 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># devel/ispc ># devel/ispc/Makefile ># devel/ispc/distinfo ># devel/ispc/pkg-descr ># devel/ispc/files ># devel/ispc/files/patch-examples_tasksys.cpp ># devel/ispc/files/patch-util.cpp ># >echo c - devel/ispc >mkdir -p devel/ispc > /dev/null 2>&1 >echo x - devel/ispc/Makefile >sed 's/^X//' >devel/ispc/Makefile << '6504f0320fa77f36b3fb6ca44d053dd7' >X# Created by: Yuri Victorovich <yuri@rawbw.com> >X# $FreeBSD$ >X >XPORTNAME= ispc >XPORTVERSION= 1.9.1 >XDISTVERSIONPREFIX= v >XCATEGORIES= devel >X >XMAINTAINER= yuri@rawbw.com >XCOMMENT= Intel SPMD Program Compiler >X >XLICENSE= BSD3CLAUSE >XLICENSE_FILE= ${WRKSRC}/LICENSE.txt >X >XBUILD_DEPENDS= clang${CLANG_VERSION}:lang/clang${CLANG_VERSION} \ >X bison:devel/bison >X >XUSE_GITHUB= yes >XGH_ACCOUNT= ispc >X >XUSES= pkgconfig gmake python:build >XALL_TARGET= >XPLIST_FILES= bin/ispc >XMAKE_ENV+= LLVM_HOME="${LOCALBASE}" >XCLANG_VERSION= 38 >X >Xpost-patch: >X @${REINPLACE_CMD} -i '' -e 's|llvm-config|llvm-config${CLANG_VERSION}|g' \ >X ${WRKSRC}/Makefile >X @${REINPLACE_CMD} -i '' -e 's|python |${PYTHON_CMD} |g' \ >X ${WRKSRC}/Makefile >X @${REINPLACE_CMD} -i '' -e 's|sed -e s/x86_64/x86/|sed -e s/amd64/x86/|g' \ >X ${WRKSRC}/examples/common.mk >X @${REINPLACE_CMD} -i '' -e 's|CXX=clang++|CXX=clang++${CLANG_VERSION}|g' \ >X ${WRKSRC}/examples/common.mk >X @${REINPLACE_CMD} -i '' -e 's|CC=clang|CC=clang${CLANG_VERSION}|g' \ >X ${WRKSRC}/examples/common.mk >X @${REINPLACE_CMD} -i '' -e 's|^CXXFLAGS+=|CXXFLAGS+=-std=c++11 |g' \ >X ${WRKSRC}/examples/common.mk >X @${REINPLACE_CMD} -i '' -e 's| -O2| -O2 -I${LOCALBASE}/include|g' \ >X ${WRKSRC}/examples/common.mk >X @${REINPLACE_CMD} -i '' -e 's| -lstdc++| -lstdc++ -L${LOCALBASE}/lib -ltbb|g' \ >X ${WRKSRC}/examples/common.mk >X @${REINPLACE_CMD} -i '' -e 's|ARCH|ARCHX|g' \ >X ${WRKSRC}/examples/common.mk >X @${REINPLACE_CMD} -i '' -e 's|#!/usr/bin/python|#!/usr/bin/env python|g' \ >X ${WRKSRC}/*.py >X >Xdo-install: >X ${INSTALL_PROGRAM} ${WRKSRC}/ispc ${STAGEDIR}${PREFIX}/bin >X >Xdo-test: >X @cd ${WRKSRC} && ISPC_HOME=${WRKSRC} ./run_tests.py >X >Xrun-examples: build >X @[ -f ${LOCALBASE}/lib/libtbb.so ] || ! echo "ERROR test target requires devel/tbb package installed" >X.for e in simple sort mandelbrot stencil >X @cd ${WRKSRC}/examples/${e} && \ >X ${ECHO} "===> Running example ${e}" && \ >X ${SETENV} ${MAKE_ENV} ${MAKE_CMD} && \ >X ./${e} >X.endfor >X >X.include <bsd.port.mk> >6504f0320fa77f36b3fb6ca44d053dd7 >echo x - devel/ispc/distinfo >sed 's/^X//' >devel/ispc/distinfo << '2b9666be3ecf5a4a8ec17ae7dd0455e4' >XTIMESTAMP = 1479198220 >XSHA256 (ispc-ispc-v1.9.1_GH0.tar.gz) = c52910a007f1b0c732dd1cb981e7c22f3b9b575f0b097a49f4e43fc7a3e7e976 >XSIZE (ispc-ispc-v1.9.1_GH0.tar.gz) = 19276043 >2b9666be3ecf5a4a8ec17ae7dd0455e4 >echo x - devel/ispc/pkg-descr >sed 's/^X//' >devel/ispc/pkg-descr << '4077ae4896566a34855943748d5358e4' >Xispc is a compiler for a variant of the C programming language, with >Xextensions for single program, multiple data programming. Under the SPMD >Xmodel, the programmer writes a program that generally appears to be a >Xregular serial program, though the execution model is actually that a >Xnumber of program instances execute in parallel on the hardware. >X >XWWW: https://ispc.github.io/ >4077ae4896566a34855943748d5358e4 >echo c - devel/ispc/files >mkdir -p devel/ispc/files > /dev/null 2>&1 >echo x - devel/ispc/files/patch-examples_tasksys.cpp >sed 's/^X//' >devel/ispc/files/patch-examples_tasksys.cpp << '8c97945f8f0e4431bfec3f6ef8cfbae7' >X--- examples/tasksys.cpp.orig 2016-11-15 09:02:07 UTC >X+++ examples/tasksys.cpp >X@@ -79,6 +79,8 @@ >X >X */ >X >X+#define ISPC_USE_TBB_TASK_GROUP >X+ >X #if !(defined ISPC_USE_CONCRT || defined ISPC_USE_GCD || \ >X defined ISPC_USE_PTHREADS || defined ISPC_USE_PTHREADS_FULLY_SUBSCRIBED || \ >X defined ISPC_USE_TBB_TASK_GROUP || defined ISPC_USE_TBB_PARALLEL_FOR || \ >8c97945f8f0e4431bfec3f6ef8cfbae7 >echo x - devel/ispc/files/patch-util.cpp >sed 's/^X//' >devel/ispc/files/patch-util.cpp << 'fbedde8f60a7258ba85f071eb933ab68' >X--- util.cpp.orig 2016-07-08 11:13:52 UTC >X+++ util.cpp >X@@ -43,7 +43,7 @@ >X #include <malloc.h> // for alloca() >X #endif >X #else >X-#include <alloca.h> >X+#include <stdlib.h> >X #include <unistd.h> >X #endif >X #include <stdio.h> >fbedde8f60a7258ba85f071eb933ab68 >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 214543
:
177029
|
177030
|
177033
|
177036