[Midnightbsd-cvs] mports [24043] trunk/devel: add libclc, remove libcheck (it is check port now)
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Fri Aug 31 14:00:30 EDT 2018
Revision: 24043
http://svnweb.midnightbsd.org/mports/?rev=24043
Author: laffer1
Date: 2018-08-31 14:00:29 -0400 (Fri, 31 Aug 2018)
Log Message:
-----------
add libclc, remove libcheck (it is check port now)
Modified Paths:
--------------
trunk/devel/Makefile
Added Paths:
-----------
trunk/devel/libclc/
trunk/devel/libclc/Makefile
trunk/devel/libclc/distinfo
trunk/devel/libclc/files/
trunk/devel/libclc/files/patch-configure.py
trunk/devel/libclc/pkg-descr
trunk/devel/libclc/pkg-plist
Removed Paths:
-------------
trunk/devel/libcheck/
Modified: trunk/devel/Makefile
===================================================================
--- trunk/devel/Makefile 2018-08-31 15:34:23 UTC (rev 24042)
+++ trunk/devel/Makefile 2018-08-31 18:00:29 UTC (rev 24043)
@@ -139,7 +139,7 @@
SUBDIR += libbonobo
SUBDIR += libburn
SUBDIR += libc++
-SUBDIR += libcheck
+SUBDIR += libclc
SUBDIR += libconfig
SUBDIR += libconfuse
SUBDIR += libcxxrt
Added: trunk/devel/libclc/Makefile
===================================================================
--- trunk/devel/libclc/Makefile (rev 0)
+++ trunk/devel/libclc/Makefile 2018-08-31 18:00:29 UTC (rev 24043)
@@ -0,0 +1,42 @@
+# $MidnightBSD$
+
+PORTNAME= libclc
+DISTVERSION= 0.3.0.20170117
+CATEGORIES= devel
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Required library functions for OpenCL C programming language
+
+LICENSE= bsd3 mit
+LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
+LICENSE_COMB= dual
+
+BUILD_DEPENDS= clang${LLVMVER}:devel/llvm${LLVMVER} \
+ libedit>=0:devel/libedit
+
+USE_GITHUB= yes
+GH_ACCOUNT= llvm-mirror
+GH_TAGNAME= 2ec7d80
+
+# ninja based build is broken since commit 598792bc (16 sep 2016)
+USES= gmake python:2.7,build gmake
+USE_LDCONFIG= yes
+MAKE_ENV= MAKE=${GMAKE} DESTDIR=${STAGEDIR}
+
+LLVMVER= 40
+
+ALL_TARGET=
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/bin/python|${PYTHON_CMD}|g' \
+ -e 's|"python |"${PYTHON_VERSION} |g' \
+ ${WRKSRC}/build/ninja_syntax.py \
+ ${WRKSRC}/configure.py
+
+do-configure:
+ @cd ${WRKSRC} && ${PYTHON_CMD} configure.py ${CONFIGURE_ARGS} -g make \
+ --with-llvm-config=${LOCALBASE}/bin/llvm-config${LLVMVER} \
+ --pkgconfigdir=${PREFIX}/libdata/pkgconfig \
+ --prefix=${PREFIX}
+
+.include <bsd.port.mk>
Property changes on: trunk/devel/libclc/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/libclc/distinfo
===================================================================
--- trunk/devel/libclc/distinfo (rev 0)
+++ trunk/devel/libclc/distinfo 2018-08-31 18:00:29 UTC (rev 24043)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1535730541
+SHA256 (libclc-0.3.0.20170117_GH0.tar.gz) = 8e42ff411dbb8368d6719685864cc43312e02ff32bcc6785d1b25ee8d551837e
+SIZE (libclc-0.3.0.20170117_GH0.tar.gz) = 130868
Property changes on: trunk/devel/libclc/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/libclc/files/patch-configure.py
===================================================================
--- trunk/devel/libclc/files/patch-configure.py (rev 0)
+++ trunk/devel/libclc/files/patch-configure.py 2018-08-31 18:00:29 UTC (rev 24043)
@@ -0,0 +1,27 @@
+The LLVM_TOOL_LINK builds a helper tool named utils/prepare-builtins that
+requires libedit which in turn pulls in libtinfo (part of libncurses).
+In order to support builds on platforms without base ncurses (e.g. DF),
+require base libedit. This requires an additional -L LDFLAGS to search
+${LOCALBASE}/lib for the needed libs. (prepare-builtins is not installed)
+
+--- configure.py.orig 2015-07-10 13:37:04 UTC
++++ configure.py
+@@ -118,7 +118,8 @@ b.rule("OPT", command = llvm_opt + " -O3
+ description = 'OPT $out')
+
+ c_compiler_rule(b, "LLVM_TOOL_CXX", 'CXX', cxx_compiler, llvm_cxxflags)
+-b.rule("LLVM_TOOL_LINK", cxx_compiler + " -o $out $in %s" % llvm_core_libs + " -Wl,-rpath %s" % llvm_libdir, 'LINK $out')
++b.rule("LLVM_TOOL_LINK", cxx_compiler + " -o $out $in %s" % llvm_core_libs +
++ " -L" + prefix + "/lib -Wl,-rpath %s" % llvm_libdir, 'LINK $out')
+
+ prepare_builtins = os.path.join('utils', 'prepare-builtins')
+ b.build(os.path.join('utils', 'prepare-builtins.o'), "LLVM_TOOL_CXX",
+@@ -264,7 +265,7 @@ install_cmd = ' && '.join(['mkdir -p ${D
+ {'src': file,
+ 'dst': libexecdir}
+ for (file, dest) in install_files_bc])
+-install_cmd = ' && '.join(['%(old)s && mkdir -p ${DESTDIR}/%(dst)s && cp -r %(srcdir)s/generic/include/clc ${DESTDIR}/%(dst)s' %
++install_cmd = ' && '.join(['%(old)s && mkdir -p ${DESTDIR}/%(dst)s && cp -r generic/include/clc ${DESTDIR}/%(dst)s' %
+ {'old': install_cmd,
+ 'dst': includedir,
+ 'srcdir': srcdir}])
Property changes on: trunk/devel/libclc/files/patch-configure.py
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/libclc/pkg-descr
===================================================================
--- trunk/devel/libclc/pkg-descr (rev 0)
+++ trunk/devel/libclc/pkg-descr 2018-08-31 18:00:29 UTC (rev 24043)
@@ -0,0 +1,8 @@
+libclc is an open source, BSD licensed implementation of the library
+requirements of the OpenCL C programming language, as specified by the
+OpenCL 1.1 Specification. The following sections of the specification
+impose library requirements:
+
+Libclc is intended to be used with the Clang compiler's OpenCL frontend
+
+WWW: http://libclc.llvm.org/
Property changes on: trunk/devel/libclc/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/libclc/pkg-plist
===================================================================
--- trunk/devel/libclc/pkg-plist (rev 0)
+++ trunk/devel/libclc/pkg-plist 2018-08-31 18:00:29 UTC (rev 24043)
@@ -0,0 +1,330 @@
+include/clc/as_type.h
+include/clc/async/async_work_group_copy.h
+include/clc/async/async_work_group_copy.inc
+include/clc/async/async_work_group_strided_copy.h
+include/clc/async/async_work_group_strided_copy.inc
+include/clc/async/gentype.inc
+include/clc/async/prefetch.h
+include/clc/async/prefetch.inc
+include/clc/async/wait_group_events.h
+include/clc/atomic/atomic_add.h
+include/clc/atomic/atomic_and.h
+include/clc/atomic/atomic_cmpxchg.h
+include/clc/atomic/atomic_dec.h
+include/clc/atomic/atomic_decl.inc
+include/clc/atomic/atomic_inc.h
+include/clc/atomic/atomic_max.h
+include/clc/atomic/atomic_min.h
+include/clc/atomic/atomic_or.h
+include/clc/atomic/atomic_sub.h
+include/clc/atomic/atomic_xchg.h
+include/clc/atomic/atomic_xor.h
+include/clc/cl_khr_global_int32_base_atomics/atom_add.h
+include/clc/cl_khr_global_int32_base_atomics/atom_cmpxchg.h
+include/clc/cl_khr_global_int32_base_atomics/atom_dec.h
+include/clc/cl_khr_global_int32_base_atomics/atom_inc.h
+include/clc/cl_khr_global_int32_base_atomics/atom_sub.h
+include/clc/cl_khr_global_int32_base_atomics/atom_xchg.h
+include/clc/cl_khr_global_int32_extended_atomics/atom_and.h
+include/clc/cl_khr_global_int32_extended_atomics/atom_max.h
+include/clc/cl_khr_global_int32_extended_atomics/atom_min.h
+include/clc/cl_khr_global_int32_extended_atomics/atom_or.h
+include/clc/cl_khr_global_int32_extended_atomics/atom_xor.h
+include/clc/cl_khr_local_int32_base_atomics/atom_add.h
+include/clc/cl_khr_local_int32_base_atomics/atom_cmpxchg.h
+include/clc/cl_khr_local_int32_base_atomics/atom_dec.h
+include/clc/cl_khr_local_int32_base_atomics/atom_inc.h
+include/clc/cl_khr_local_int32_base_atomics/atom_sub.h
+include/clc/cl_khr_local_int32_base_atomics/atom_xchg.h
+include/clc/cl_khr_local_int32_extended_atomics/atom_and.h
+include/clc/cl_khr_local_int32_extended_atomics/atom_max.h
+include/clc/cl_khr_local_int32_extended_atomics/atom_min.h
+include/clc/cl_khr_local_int32_extended_atomics/atom_or.h
+include/clc/cl_khr_local_int32_extended_atomics/atom_xor.h
+include/clc/clc.h
+include/clc/clcfunc.h
+include/clc/clctypes.h
+include/clc/clcversion.h
+include/clc/common/degrees.h
+include/clc/common/degrees.inc
+include/clc/common/mix.h
+include/clc/common/mix.inc
+include/clc/common/radians.h
+include/clc/common/radians.inc
+include/clc/common/sign.h
+include/clc/common/smoothstep.h
+include/clc/common/smoothstep.inc
+include/clc/common/step.h
+include/clc/common/step.inc
+include/clc/convert.h
+include/clc/float/definitions.h
+include/clc/geometric/cross.h
+include/clc/geometric/distance.h
+include/clc/geometric/distance.inc
+include/clc/geometric/dot.h
+include/clc/geometric/dot.inc
+include/clc/geometric/fast_distance.h
+include/clc/geometric/fast_distance.inc
+include/clc/geometric/fast_length.h
+include/clc/geometric/fast_length.inc
+include/clc/geometric/fast_normalize.h
+include/clc/geometric/fast_normalize.inc
+include/clc/geometric/floatn.inc
+include/clc/geometric/length.h
+include/clc/geometric/length.inc
+include/clc/geometric/normalize.h
+include/clc/geometric/normalize.inc
+include/clc/image/image.h
+include/clc/image/image_defines.h
+include/clc/integer/abs.h
+include/clc/integer/abs.inc
+include/clc/integer/abs_diff.h
+include/clc/integer/abs_diff.inc
+include/clc/integer/add_sat.h
+include/clc/integer/add_sat.inc
+include/clc/integer/clz.h
+include/clc/integer/clz.inc
+include/clc/integer/definitions.h
+include/clc/integer/gentype.inc
+include/clc/integer/hadd.h
+include/clc/integer/hadd.inc
+include/clc/integer/integer-gentype.inc
+include/clc/integer/mad24.h
+include/clc/integer/mad24.inc
+include/clc/integer/mad_hi.h
+include/clc/integer/mad_sat.h
+include/clc/integer/mad_sat.inc
+include/clc/integer/mul24.h
+include/clc/integer/mul24.inc
+include/clc/integer/mul_hi.h
+include/clc/integer/mul_hi.inc
+include/clc/integer/rhadd.h
+include/clc/integer/rhadd.inc
+include/clc/integer/rotate.h
+include/clc/integer/rotate.inc
+include/clc/integer/sub_sat.h
+include/clc/integer/sub_sat.inc
+include/clc/integer/upsample.h
+include/clc/math/acos.h
+include/clc/math/acos.inc
+include/clc/math/acosh.h
+include/clc/math/acosh.inc
+include/clc/math/acospi.h
+include/clc/math/acospi.inc
+include/clc/math/asin.h
+include/clc/math/asin.inc
+include/clc/math/asinh.h
+include/clc/math/asinh.inc
+include/clc/math/asinpi.h
+include/clc/math/asinpi.inc
+include/clc/math/atan.h
+include/clc/math/atan.inc
+include/clc/math/atan2.h
+include/clc/math/atan2.inc
+include/clc/math/atan2pi.h
+include/clc/math/atan2pi.inc
+include/clc/math/atanh.h
+include/clc/math/atanh.inc
+include/clc/math/atanpi.h
+include/clc/math/atanpi.inc
+include/clc/math/binary_decl.inc
+include/clc/math/binary_intrin.inc
+include/clc/math/cbrt.h
+include/clc/math/cbrt.inc
+include/clc/math/ceil.h
+include/clc/math/clc_nextafter.h
+include/clc/math/copysign.h
+include/clc/math/copysign.inc
+include/clc/math/cos.h
+include/clc/math/cos.inc
+include/clc/math/cosh.h
+include/clc/math/cosh.inc
+include/clc/math/cospi.h
+include/clc/math/cospi.inc
+include/clc/math/erf.h
+include/clc/math/erfc.h
+include/clc/math/exp.h
+include/clc/math/exp10.h
+include/clc/math/exp2.h
+include/clc/math/exp2.inc
+include/clc/math/expm1.h
+include/clc/math/fabs.h
+include/clc/math/fdim.h
+include/clc/math/fdim.inc
+include/clc/math/floor.h
+include/clc/math/fma.h
+include/clc/math/fmax.h
+include/clc/math/fmin.h
+include/clc/math/fmod.h
+include/clc/math/fmod.inc
+include/clc/math/fract.h
+include/clc/math/fract.inc
+include/clc/math/frexp.h
+include/clc/math/frexp.inc
+include/clc/math/gentype.inc
+include/clc/math/half_rsqrt.h
+include/clc/math/half_sqrt.h
+include/clc/math/hypot.h
+include/clc/math/hypot.inc
+include/clc/math/ilogb.h
+include/clc/math/ilogb.inc
+include/clc/math/ldexp.h
+include/clc/math/ldexp.inc
+include/clc/math/lgamma.h
+include/clc/math/lgamma.inc
+include/clc/math/lgamma_r.h
+include/clc/math/lgamma_r.inc
+include/clc/math/log.h
+include/clc/math/log.inc
+include/clc/math/log10.h
+include/clc/math/log1p.h
+include/clc/math/log1p.inc
+include/clc/math/log2.h
+include/clc/math/log2.inc
+include/clc/math/logb.h
+include/clc/math/logb.inc
+include/clc/math/mad.h
+include/clc/math/mad.inc
+include/clc/math/modf.h
+include/clc/math/modf.inc
+include/clc/math/native_cos.h
+include/clc/math/native_divide.h
+include/clc/math/native_exp.h
+include/clc/math/native_exp10.h
+include/clc/math/native_exp2.h
+include/clc/math/native_log.h
+include/clc/math/native_log.inc
+include/clc/math/native_log2.h
+include/clc/math/native_log2.inc
+include/clc/math/native_powr.h
+include/clc/math/native_sin.h
+include/clc/math/native_sqrt.h
+include/clc/math/nextafter.h
+include/clc/math/pow.h
+include/clc/math/pown.h
+include/clc/math/rint.h
+include/clc/math/round.h
+include/clc/math/rsqrt.h
+include/clc/math/sin.h
+include/clc/math/sin.inc
+include/clc/math/sincos.h
+include/clc/math/sincos.inc
+include/clc/math/sinpi.h
+include/clc/math/sinpi.inc
+include/clc/math/sqrt.h
+include/clc/math/sqrt.inc
+include/clc/math/tan.h
+include/clc/math/tan.inc
+include/clc/math/tanh.h
+include/clc/math/tanh.inc
+include/clc/math/ternary_intrin.inc
+include/clc/math/tgamma.h
+include/clc/math/tgamma.inc
+include/clc/math/trunc.h
+include/clc/math/unary_decl.inc
+include/clc/math/unary_intrin.inc
+include/clc/relational/all.h
+include/clc/relational/any.h
+include/clc/relational/binary_decl.inc
+include/clc/relational/bitselect.h
+include/clc/relational/bitselect.inc
+include/clc/relational/floatn.inc
+include/clc/relational/isequal.h
+include/clc/relational/isfinite.h
+include/clc/relational/isgreater.h
+include/clc/relational/isgreaterequal.h
+include/clc/relational/isinf.h
+include/clc/relational/isless.h
+include/clc/relational/islessequal.h
+include/clc/relational/islessgreater.h
+include/clc/relational/isnan.h
+include/clc/relational/isnormal.h
+include/clc/relational/isnotequal.h
+include/clc/relational/isordered.h
+include/clc/relational/isunordered.h
+include/clc/relational/select.h
+include/clc/relational/signbit.h
+include/clc/relational/unary_decl.inc
+include/clc/shared/clamp.h
+include/clc/shared/clamp.inc
+include/clc/shared/max.h
+include/clc/shared/max.inc
+include/clc/shared/min.h
+include/clc/shared/min.inc
+include/clc/shared/vload.h
+include/clc/shared/vstore.h
+include/clc/synchronization/barrier.h
+include/clc/synchronization/cl_mem_fence_flags.h
+include/clc/workitem/get_global_id.h
+include/clc/workitem/get_global_offset.h
+include/clc/workitem/get_global_size.h
+include/clc/workitem/get_group_id.h
+include/clc/workitem/get_local_id.h
+include/clc/workitem/get_local_size.h
+include/clc/workitem/get_num_groups.h
+include/clc/workitem/get_work_dim.h
+lib/clc/amdgcn--amdhsa.bc
+lib/clc/aruba-r600--.bc
+lib/clc/barts-r600--.bc
+lib/clc/bonaire-amdgcn--.bc
+lib/clc/bonaire-amdgcn--amdhsa.bc
+lib/clc/bonaire-amdgcn-mesa-mesa3d.bc
+lib/clc/caicos-r600--.bc
+lib/clc/carrizo-amdgcn--.bc
+lib/clc/carrizo-amdgcn--amdhsa.bc
+lib/clc/carrizo-amdgcn-mesa-mesa3d.bc
+lib/clc/cayman-r600--.bc
+lib/clc/cedar-r600--.bc
+lib/clc/cypress-r600--.bc
+lib/clc/fiji-amdgcn--.bc
+lib/clc/fiji-amdgcn--amdhsa.bc
+lib/clc/fiji-amdgcn-mesa-mesa3d.bc
+lib/clc/hainan-amdgcn--.bc
+lib/clc/hainan-amdgcn-mesa-mesa3d.bc
+lib/clc/hawaii-amdgcn--.bc
+lib/clc/hawaii-amdgcn--amdhsa.bc
+lib/clc/hawaii-amdgcn-mesa-mesa3d.bc
+lib/clc/hemlock-r600--.bc
+lib/clc/iceland-amdgcn--.bc
+lib/clc/iceland-amdgcn--amdhsa.bc
+lib/clc/iceland-amdgcn-mesa-mesa3d.bc
+lib/clc/juniper-r600--.bc
+lib/clc/kabini-amdgcn--.bc
+lib/clc/kabini-amdgcn--amdhsa.bc
+lib/clc/kabini-amdgcn-mesa-mesa3d.bc
+lib/clc/kaveri-amdgcn--.bc
+lib/clc/kaveri-amdgcn--amdhsa.bc
+lib/clc/kaveri-amdgcn-mesa-mesa3d.bc
+lib/clc/mullins-amdgcn--.bc
+lib/clc/mullins-amdgcn--amdhsa.bc
+lib/clc/mullins-amdgcn-mesa-mesa3d.bc
+lib/clc/nvptx--nvidiacl.bc
+lib/clc/nvptx64--nvidiacl.bc
+lib/clc/oland-amdgcn--.bc
+lib/clc/oland-amdgcn-mesa-mesa3d.bc
+lib/clc/palm-r600--.bc
+lib/clc/pitcairn-amdgcn--.bc
+lib/clc/pitcairn-amdgcn-mesa-mesa3d.bc
+lib/clc/polaris10-amdgcn--.bc
+lib/clc/polaris10-amdgcn--amdhsa.bc
+lib/clc/polaris10-amdgcn-mesa-mesa3d.bc
+lib/clc/polaris11-amdgcn--.bc
+lib/clc/polaris11-amdgcn--amdhsa.bc
+lib/clc/polaris11-amdgcn-mesa-mesa3d.bc
+lib/clc/redwood-r600--.bc
+lib/clc/stoney-amdgcn--.bc
+lib/clc/stoney-amdgcn--amdhsa.bc
+lib/clc/stoney-amdgcn-mesa-mesa3d.bc
+lib/clc/subnormal_disable.bc
+lib/clc/subnormal_use_default.bc
+lib/clc/sumo-r600--.bc
+lib/clc/sumo2-r600--.bc
+lib/clc/tahiti-amdgcn--.bc
+lib/clc/tahiti-amdgcn-mesa-mesa3d.bc
+lib/clc/tonga-amdgcn--.bc
+lib/clc/tonga-amdgcn--amdhsa.bc
+lib/clc/tonga-amdgcn-mesa-mesa3d.bc
+lib/clc/turks-r600--.bc
+lib/clc/verde-amdgcn--.bc
+lib/clc/verde-amdgcn-mesa-mesa3d.bc
+libdata/pkgconfig/libclc.pc
Property changes on: trunk/devel/libclc/pkg-plist
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list