SHA256
1
0
forked from pool/libclc

Accepting request 539513 from home:pluskalm:branches:X11:XOrg

- Update to version 0.2.0+git.20171102:

OBS-URL: https://build.opensuse.org/request/show/539513
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=19
This commit is contained in:
Jimmy Berry 2017-11-08 23:08:33 +00:00 committed by Git OBS Bridge
parent 60cd8ba9ca
commit 76d4182dab
6 changed files with 83 additions and 13 deletions

View File

@ -4,7 +4,7 @@
<param name="url">https://github.com/llvm-mirror/libclc.git</param>
<param name="submodules">enable</param>
<param name="changesgenerate">enable</param>
<param name="revision">fb79355642cb7120597f887189f7c4f6c8f426c6</param>
<param name="revision">f07a10170a91a461e5ea1579ccb025526a372b7a</param>
<param name="versionformat">0.2.0+git.%cd</param>
</service>
<service name="recompress" mode="disabled">

View File

@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/llvm-mirror/libclc.git</param>
<param name="changesrevision">fb79355642cb7120597f887189f7c4f6c8f426c6</param>
<param name="changesrevision">f07a10170a91a461e5ea1579ccb025526a372b7a</param>
</service>
</servicedata>
</servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5c7316b2d231c554990b6ec01676166cfa0597e5fa5ad219b62d27cd9105d4a9
size 100456

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bbcb1daf0368335d7633c0a65768365a708013bcd2a9867076a8ca159c88e315
size 99496

View File

@ -1,3 +1,74 @@
-------------------------------------------------------------------
Tue Nov 7 12:48:22 UTC 2017 - mpluskal@suse.com
- Update to version 0.2.0+git.20171102:
* tgamma: Use unary_decl instead of custom inc file
* tanh: Use unary_decl instead of custom inc file
* tan: Use unary_decl instead of custom inc file
* sqrt: Use unary_decl instead of custom inc file
* sinpi: Use unary_decl instead of custom inc file
* sinh: Use unary_decl instead of custom inc file
* sin: Use unary_decl instead of custom inc file
* native_log: Use unary_decl instead of custom inc file
* native_log2: Use unary_decl instead of custom inc file
* native_log10: Use unary_decl instead of custom inc file
* log: Use unary_decl instead of custom inc file
* logb: Use unary_decl instead of custom inc file
* log2: Use unary_decl instead of custom inc file
* log1p: Use unary_decl instead of custom inc file
* lgamma: Use unary_decl instead of custom inc file
* exp2: Use unary_decl instead of custom inc file
* cospi: Use unary_decl instead of custom inc file
* cosh: Use unary_decl instead of custom inc file
* cos: Use unary_decl instead of custom inc file
* cbrt: Use unary_decl instead of custom inc file
* atanpi: Use unary_decl instead of custom inc file
* atanh: Use unary_decl instead of custom inc file
* atan: Use unary_decl instead of custom inc file
* asinpi: Use unary_decl instead of custom inc file
* asinh: Use unary_dec instead of custom inc file
* asin: Use unary_decl instead of custom inc file
* acospi: Use unary_decl instead of custom inc file
* acosh: Use unary_decl instead of custom inc file
* acos: Use unary_decl instead of custom inc file
* math: Implement native_log10
* amdgpu/math: Don't use llvm instrinsic for native_log
* shared: Implement aligned vector stores (vstorea_half)
* shared: Implement aligned vector loads (vloada_half)
* amdgcn: Add missing datalayout info to .ll files
* r600: Add missing datalayout to .ll files
* travis: enable checks of nvptx libraries
* travis: Enable external function call checks on llvm-{4,5}
* Make image builtins r600/llvm-3.9 only
* Implement mem_fence on ptx
* Make ptx barrier work irrespective of the cl_mem_fence_flags
* travis: Make sure we report failure even if only earlier checked files fail
* check_external_calls.sh: Print number of calls in tested file.
* ptx: Use __clc_nextafter to implement nextafter
* Do not include clc_nextafter header globally
* math/nextafter: Use custom declaration inc file
* math/binary_decl.inc: Do not declare mixed float/double functions
* ldexp: Fix double precision function return type
* configure: Fix handling of directories with compats only source lists
* Add vload_half helpers for ptx
* Add vstore_half helpers for ptx
* integer/sub_sat: Use clang builtin instead of llvm asm
* integer/add_sat: Use clang builtin instead of llvm asm
* integer/clz: Use clang builtin instead of llvm asm
* Let get_work_dim take exactly 0 arguments
* Do no circularly define NULL
* Fix amdgcn-amdhsa on llvm-3.9
* travis: Check built libraries on llvm-3.9
* Add script to check for unresolved function calls
* geometric: geometric functions are only supported for vector lengths <=4
* travis: add build using llvm-3.9
* Restore support for llvm-3.9
* Add missing HAVE_LLVM define to fix build with latest llvm
* Rework atomic ops to use clang builtins rather than llvm asm
* prepare_builtins: Fix compile breakage with older LLVM
* [Support] Rename tool_output_file to ToolOutputFile, NFC
- Use python3 for building
-------------------------------------------------------------------
Thu Sep 21 03:02:31 UTC 2017 - jimmy@boombatower.com

View File

@ -17,23 +17,22 @@
Name: libclc
Version: 0.2.0+git.20170920
Version: 0.2.0+git.20171102
Release: 0
Summary: OpenCL C programming language library
License: BSD-3-Clause or MIT
License: BSD-3-Clause OR MIT
Group: Development/Libraries/C and C++
Url: http://libclc.llvm.org/
Source0: %{name}-%{version}.tar.xz
Source1: %{name}-rpmlintrc
BuildRequires: gcc
BuildRequires: libstdc++-devel >= 3.9
BuildRequires: llvm >= 4.0
BuildRequires: llvm-clang-devel >= 4.0
BuildRequires: llvm-devel >= 4.0
BuildRequires: ncurses-devel
BuildRequires: pkgconfig
BuildRequires: python
BuildRequires: python3
BuildRequires: zlib-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Library requirements of the OpenCL C programming language.
@ -42,12 +41,13 @@ Library requirements of the OpenCL C programming language.
%setup -q
%build
sed -i "s|python|python3|g" configure.py
export \
CFLAGS="%{optflags}" \
CXXFLAGS="%{optflags}" \
CC=clang \
CXX=clang++
./configure.py \
python3 ./configure.py \
--prefix=%{_prefix} \
--with-llvm-config=%{_bindir}/llvm-config \
--with-cxx-compiler=${CXX} \
@ -60,7 +60,6 @@ make %{?_smp_mflags} VERBOSE=1
%make_install
%files
%defattr(-,root,root)
%doc LICENSE.TXT
%{_includedir}/clc
%{_libdir}/clc