Commit Graph

36 Commits

Author SHA256 Message Date
07f9cec97b - use clang18-devel, llvm18-devel also for Leap 15.6/15.5 in order to
fix build

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=66
2024-03-18 02:42:06 +00:00
c582c7dc70 Accepting request 1158636 from home:aaronpuchert:llvm-next
- Update to version 18.1.0.
  * Fix signed integer underflow in abs_diff.
  * Teach prepare-builtins how to handle text-based IR.
  * Add half implementation for erf/erfc.
  * Add missing AMD gfx symlinks.

OBS-URL: https://build.opensuse.org/request/show/1158636
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=65
2024-03-18 01:54:00 +00:00
806cb3d1b1 - let sle15-sp6 require llvm17/clang17
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=63
2023-11-20 12:58:15 +00:00
1883cea931 Accepting request 1113940 from home:aaronpuchert:llvm-next
- Update to version 17.0.1.

OBS-URL: https://build.opensuse.org/request/show/1113940
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=60
2023-09-28 11:14:26 +00:00
2ba4a7be7e Accepting request 1073877 from home:aaronpuchert:llvm-next
- Update to version 16.0.0.
- Drop cmake-flags-concat.patch that landed upstream.
- Enable opaque pointers now that Mesa seems to support them.
- Add PGP signatures and keyring for source verification.

OBS-URL: https://build.opensuse.org/request/show/1073877
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=58
2023-03-23 12:24:22 +00:00
7eac7bb317 Accepting request 1061754 from home:aaronpuchert:branches:X11:XOrg
- Add support for SPIR-V targets on Tumbleweed.

OBS-URL: https://build.opensuse.org/request/show/1061754
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=56
2023-01-28 19:16:05 +00:00
9f59fac755 - build with llvm15/clang15 on sle15-sp5/Leap 15.5
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=54
2022-11-05 11:06:40 +00:00
e7d19a231e Accepting request 1011271 from home:aaronpuchert:branches:X11:XOrg
- Fix build on Leap by adding "-Xclang -no-opaque-pointers" only
  for Clang 15 and newer.

OBS-URL: https://build.opensuse.org/request/show/1011271
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=52
2022-10-16 19:54:41 +00:00
460711e5f7 Accepting request 1008002 from home:aaronpuchert:llvm-next
- Update to version 0.2.0+llvm15.0.0.
- Compile without opaque pointers for now because Mesa doesn't
  support them yet.
- Add cmake-flags-concat.patch to ensure proper concatenation of
  build flags: CMAKE_<LANG>_FLAGS is a string and not a list.

OBS-URL: https://build.opensuse.org/request/show/1008002
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=50
2022-10-05 08:01:34 +00:00
8b3942f123 - fixed build on Leap 15.3 by buildrequiring clang13/llvm13
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=48
2022-08-25 13:34:03 +00:00
9a6b1ad1fb Accepting request 970252 from home:aaronpuchert:llvm-next
- Update to version 0.2.0+14.0.0.

OBS-URL: https://build.opensuse.org/request/show/970252
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=46
2022-04-15 08:34:21 +00:00
014718a635 - reverted previous change (boo#1192675)
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=45
2021-11-15 09:31:05 +00:00
71f929f8fa fixed build on 32bit platforms for real (hopefully)
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=44
2021-11-14 20:59:00 +00:00
b682ce7a34 fix build on 32bit platforms ...
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=43
2021-11-14 20:48:27 +00:00
2ff074f68c - create /usr/lib64/clc compatibility symlink (boo#1192675)
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=41
2021-11-14 20:16:40 +00:00
8d9a69e833 Accepting request 922854 from home:aaronpuchert:llvm-next
- Update to version 0.2.0+llvm13.0.0.
- Make it easier to build release candidates.

OBS-URL: https://build.opensuse.org/request/show/922854
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=40
2021-10-04 09:03:57 +00:00
47301eaea4 - fixed broken %{_llvm_sonum} in libcl(llvm%{_llvm_sonum}) Provides
by buildrequiring appropriate llvm/clang -devel packages

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=39
2021-09-29 12:58:22 +00:00
5585632462 Accepting request 886343 from home:aaronpuchert:llvm-next
- Update to version 0.2.0+llvm12.0.0.

OBS-URL: https://build.opensuse.org/request/show/886343
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=36
2021-04-17 18:06:30 +00:00
3ec6854b91 Accepting request 861994 from home:aaronpuchert
- Update to version 0.2.0+llvm11.0.1.

OBS-URL: https://build.opensuse.org/request/show/861994
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=34
2021-01-09 18:10:51 +00:00
84b88877da Accepting request 845078 from home:aaronpuchert:llvm-next
- Update to version 0.2.0+llvm11.0.0.
  The repository that we extracted the tarball from isn't updated
  any longer. So we take the tarballs from LLVM releases instead.
- The build now uses CMake instead of a custom Python script.
- Remove dependencies on gcc, libstdc++-devel, ncurses and zlib.
- The provided package consists of LLVM bitcode files, which are
  not necessarily backwards-compatible across major versions.
  (https://llvm.org/docs/DeveloperPolicy.html#ir-backwards-compatibility)
  So we let the package provide a symbol libclc(llvmXX).
- The library files have moved from %{_libdir} to %{_datadir}.
- Make noarch: the bitcode files don't depend on the host CPU.

OBS-URL: https://build.opensuse.org/request/show/845078
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=32
2020-10-30 17:44:31 +00:00
Jimmy Berry
3f3a36bb76 Accepting request 733451 from home:pluskalm:branches:X11:XOrg
- Update to version 0.2.0+git.20190805:
  * Revert "Rename F_{None,Text,Append} to OF_{None,Text,Append}. NFC"
  * Rename F_{None,Text,Append} to OF_{None,Text,Append}. NFC
  * travis: Add LLVM-8 build
- Small spec file updates

OBS-URL: https://build.opensuse.org/request/show/733451
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=30
2019-09-26 13:51:59 +00:00
Jimmy Berry
ff2dd81ca3 Accepting request 686314 from home:dimstar:Factory
- Update License tag to (BSD-3-Clause or MIT) and Apache-2.0 WITH
  LLVM-exception after legal review.

OBS-URL: https://build.opensuse.org/request/show/686314
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=28
2019-03-19 13:54:54 +00:00
Jimmy Berry
3f5f02391d Accepting request 684790 from home:boombatower:branches:X11:XOrg
- Update to version 0.2.0+git.20190313:
  * sincos: Simplify declaration headers.
  * fdim: Use binary_decl_tt.inc instead of custom inc file.
  * nextafter: Use binary_decl_tt.inc instead of custom inc file.
  * copysign: Use binary_decl_tt.inc instead of custom inc file.
  * atan2pi: Use binary_decl_tt.inc instead of custom inc file.
  * atan2: Use binary_decl_tt.inc instead of custom inc file.
  * hypot: Use binary_decl_tt.inc instead of custom inc file
  * Move unary_instrinsic.inc to private headers.
  * Move binary_intrinsic.h to private headers.
  * Move ternary_intrinsic.h to private headers.
  * trunc: Remove llvm intrinsic from the header.
  * round: Remove llvm intrinsic from the header
  * rint: Remove llvm intrinsic from the header.
  * floor: Remove llvm isntrinsic from the header.
  * fabs: Remove llvm intrinsic from the header.
  * ceil: Remove llvm intrinsic from the header.
  * sqrt: Split function generation to a shared inc file.
  * mad: Convert to standard ternary header
  * travis: Deduplicate LLVM_CONFIG variable
  * travis: Use gcc-6 for llvm-7 build
  * Adjust documentation for git migration.
  * Fix typos throughout the license files that somehow I and my reviewers all missed!
  * Update the file headers across all of the LLVM projects in the monorepo to reflect the new license.
  * Install new LLVM license structure and new developer policy.
  * Update year in license files
  * cmake: Install libraries to DATADIR from GNUInstallDirs

OBS-URL: https://build.opensuse.org/request/show/684790
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=27
2019-03-13 20:48:31 +00:00
Jimmy Berry
5fe6823436 Accepting request 663057 from home:aaronpuchert
Update to version 0.2.0+git.20181127, which fixes issues with amdgcn.

OBS-URL: https://build.opensuse.org/request/show/663057
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=25
2019-01-06 03:28:51 +00:00
Jimmy Berry
ab80c44871 Accepting request 641350 from home:boombatower:branches:X11:XOrg
- Update to version 0.2.0+git.20180915:
  * configure: Rework support for gfx9+ devices that were added post LLVM 3.9
  * .travis: Add llvm-7 build
  * .travis: Use source whitelist alias for llvm-6 repository
  * amdgcn: Use __constant AS for amdgcn builtins.
  * atom: Use volatile pointers for cl_khr_{global,local}_int32_{base,extended}_atomics
  * atom: Consolidate cl_khr_{local,global}_int32_{base,extended}_atomics implementation
  * atomic: Provide function implementation of atomic_{dec,inc}
  * atom: Consolidate cl_khr_int64_{base,extended}_atomics declarations
  * atom: Consolidate cl_khr_{local,global}_int32_{base,extended}_atomics declarations
  * atomic: Cleanup atomic_cmpxchg header
  * atomic: Move define cleanup to shared include
  * Update copyright year to 2018.
  * r600/fmin: Flush denormals before calling builtin.
  * r600/fmax: Flush denormals before calling builtin.
  * math/fma: Add fp32 software implementation
  * Add initial support for half precision builtins
  * rootn: Use denormal path only
  * remquo: Flush denormals if not supported
  * remquo: Port from amd builtins
  * math: Add helper function to flush denormals if not supported.
  * clc_sqrt: Reuse unary_decl.inc
  * relational/select: Condition types for half are short/ushort, not char/uchar
  * log10: Use sw implementation from amd builtins
  * powr: Use denormal path only
  * pown: Use denormal path only
  * pow: Use denormal path only
  * amdgcn/fmin: Fix typos that reduced precision
  * exp10: Port from amd builtins
  * hypot: Port from amd builtins

OBS-URL: https://build.opensuse.org/request/show/641350
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=23
2018-10-12 02:06:33 +00:00
Jimmy Berry
40a7402ed0 Accepting request 559571 from home:pluskalm:branches:X11:XOrg
- Update to version 0.2.0+git.20171127:
  * configure.py: Add gfx900 (Vega, Raven)
  * math: Implement minmag
  * math: Implement maxmag
  * native_powr: Switch implementation to native_exp2 and native_log2
  * native_divide: provide function implementation instead of macro
  * native_recip: provide function implementation instead of macro
  * native_rsqrt: Switch implementation to 1 / native_sqrt
  * native_tan: Switch implementation to use native_sin/native_cos
  * math: Use precomputed constant for log2(10.0)
  * native_exp10: Switch implementation to llvm intrinsic
  * native_sqrt: Switch implementation to llvm intrinsic
  * native_sin: Switch implementation to llvm intrinsic
  * native_cos: Switch implementation to llvm intrinsic
  * native_exp2: Switch implementation to llvm intrinsic
  * native_exp: Switch implementation to llvm intrinsic
  * amdgpu: Add workaround for unimplemented llvm.exp intrinsic
  * native_log10: Switch to generic native intrinsic inc file
  * native_log: Switch to generic native intrinsic inc file
  * native_log2: Switch to generic native intrinsic inc file

OBS-URL: https://build.opensuse.org/request/show/559571
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=21
2017-12-24 02:17:22 +00:00
Jimmy Berry
76d4182dab 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
2017-11-08 23:08:33 +00:00
Jimmy Berry
60cd8ba9ca Accepting request 527633 from home:boombatower:branches:X11:XOrg
- Update to version 0.2.0+git.20170920:
  * generic: add missing get_work_dim include
  * add __kernel_exec macros
  * configure.py: Make python3 friendly
  * configure.py: Drop explicit import of int builtin
  * amdgcn: Implement {read_,write_,}mem_fence builtin
  * amdgcn: rewrite barrier() using fence and clang __builtin_amdgcn_s_barrier
  * Add halfN types and enable fp16 when generating builtin declarations
  * relational: Implement shuffle builtin
  * relational: Implement shuffle2 builtin
  * Fixup clc.h comment
  * r600: Cleanup barrier implementation.
  * amdgcn,waitcnt: Add datalayout info
  * configure.py: Simplify compatibility sources
  * vstore: Cleanup and add vstore(half)
  * Implement vload_half{,n} and vload(half)
  * integer: Add popcount implementation using ctpop intrinsic
  * Add native_recip(x) as ((1)/(x))
  * Add travis CI configuration file
  * Implement cl_khr_int64_base_atomics builtins
  * Implement cl_khr_int64_extended_atomics builtins

OBS-URL: https://build.opensuse.org/request/show/527633
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=17
2017-09-21 03:12:31 +00:00
Jimmy Berry
a80416aeaa Accepting request 487675 from home:boombatower:branches:X11:XOrg
Will fail to build in devel, but needed for accept llvm4 to Factory.

- Update to version 0.2.0+git.20170225:
  * Fix build since llvm r286566 and require at least llvm 4.0
  * Fix build since r286752.
  * math: Add expm1 builtin function
  * math: Add logb builtin
  * math: Add native_rsqrt builtin function
  * Add the correct prefixes to the cl_khr_fp64 pragma
  * Move BufferPtr into the block where it it being used
  * math: Add native_tan as wrapper to tan
  * .gitignore: Ignore amdgcn-mesa object directory
  * math: Implement sinh function

OBS-URL: https://build.opensuse.org/request/show/487675
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=14
2017-04-12 17:50:17 +00:00
34057b04a7 Accepting request 443565 from home:pluskalm:branches:X11:XOrg
- Update to version 0.2.0+git.20160921:

OBS-URL: https://build.opensuse.org/request/show/443565
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=12
2017-01-09 11:06:50 +00:00
Jimmy Berry
4a7b3370ca Accepting request 406154 from home:pluskalm:branches:X11:XOrg
- Update to version 0.2.0+git.20160209

OBS-URL: https://build.opensuse.org/request/show/406154
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=9
2016-07-08 20:23:55 +00:00
15651303df - modify license to 'BSD-3-Clause or MIT'
- added LICENSE.TXT file to %doc

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=6
2015-12-17 10:03:57 +00:00
Jimmy Berry
362cfc9ebf Accepting request 348159 from home:pluskalm:branches:X11:XOrg
- Remove unnecessary ldconfig calls
- Rename rpmlintrc to libclc-rpmlintrc
- Minor spec file cleanup

OBS-URL: https://build.opensuse.org/request/show/348159
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=4
2015-12-09 17:54:21 +00:00
ab2b20d0dc - used BSD-3-Clause instead of BSD-2-Clause in order to make our
legal team happy

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=3
2015-12-08 11:00:39 +00:00
c6caef537a - added rpmlintrc as source to specfile
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=2
2015-12-07 13:49:55 +00:00
effe2bc71e Accepting request 347130 from home:boombatower:branches:X11:XOrg
Library requirements of the OpenCL C programming language.

OBS-URL: https://build.opensuse.org/request/show/347130
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=1
2015-12-02 15:15:58 +00:00