forked from pool/adaptivecpp
Compare commits
19 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| a6a7ce9484 | |||
| 82b9526f65 | |||
| a9720c655e | |||
| 59028ef3f7 | |||
| 9b8fe5c296 | |||
| f6a890aa08 | |||
| 37f64ba375 | |||
| 0eb784b747 | |||
| fdd89fa292 | |||
| b54325932b | |||
| ab664165f7 | |||
| e09a88cefe | |||
| 39769e4e07 | |||
| 9af42131dc | |||
| 2cd8145f48 | |||
| 7e7ba81832 | |||
| b019480dc4 | |||
| 98d967f6cc | |||
| 5258bbcf53 |
@@ -1,25 +0,0 @@
|
||||
From d7ab43ed1532db1ff04e5e7c324c83179d8318c3 Mon Sep 17 00:00:00 2001
|
||||
From: VaiTon <eyadlorenzo@gmail.com>
|
||||
Date: Mon, 18 Nov 2024 15:22:58 +0100
|
||||
Subject: [PATCH 2/3] CMake acpp-clang to MODULE
|
||||
|
||||
---
|
||||
src/compiler/CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/compiler/CMakeLists.txt b/src/compiler/CMakeLists.txt
|
||||
index 96eb97f..faa7c50 100644
|
||||
--- a/src/compiler/CMakeLists.txt
|
||||
+++ b/src/compiler/CMakeLists.txt
|
||||
@@ -75,7 +75,7 @@ else()
|
||||
set(REFLECTION_BUILTINS "")
|
||||
endif()
|
||||
|
||||
-add_library(acpp-clang SHARED
|
||||
+add_library(acpp-clang MODULE
|
||||
AdaptiveCppClangPlugin.cpp
|
||||
GlobalsPruningPass.cpp
|
||||
${SSCP_COMPILER}
|
||||
--
|
||||
2.47.0
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
From 2aeb2359bc3c94c0a2f7abe589f3fcb4a4b3958a Mon Sep 17 00:00:00 2001
|
||||
From: VaiTon <eyadlorenzo@gmail.com>
|
||||
Date: Mon, 18 Nov 2024 15:24:43 +0100
|
||||
Subject: [PATCH 3/3] Remove realpath in acpp
|
||||
|
||||
---
|
||||
bin/acpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/bin/acpp b/bin/acpp
|
||||
index bab3917..04f51f0 100755
|
||||
--- a/bin/acpp
|
||||
+++ b/bin/acpp
|
||||
@@ -1935,7 +1935,7 @@ if __name__ == '__main__':
|
||||
print_error("acpp requires python 3.")
|
||||
sys.exit(-1)
|
||||
|
||||
- filename = os.path.basename(os.path.realpath(__file__))
|
||||
+ filename = os.path.basename(__file__)
|
||||
if filename == "syclcc":
|
||||
print_warning("syclcc is deprecated; please use acpp instead.")
|
||||
if filename == "syclcc-clang":
|
||||
--
|
||||
2.47.0
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
diff --git a/bin/acpp b/bin/acpp
|
||||
index 2368348..bab3917 100755
|
||||
--- a/bin/acpp
|
||||
+++ b/bin/acpp
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env python3
|
||||
+#!/usr/bin/python3
|
||||
|
||||
'''
|
||||
*
|
||||
diff --git a/cmake/syclcc-launcher b/cmake/syclcc-launcher
|
||||
index b56341c..6083201 100755
|
||||
--- a/cmake/syclcc-launcher
|
||||
+++ b/cmake/syclcc-launcher
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env python3
|
||||
+#!/usr/bin/python3
|
||||
|
||||
"""
|
||||
*
|
||||
@@ -1,13 +0,0 @@
|
||||
diff --git a/src/compiler/CMakeLists.txt b/src/compiler/CMakeLists.txt
|
||||
index 96eb97f..faa7c50 100644
|
||||
--- a/src/compiler/CMakeLists.txt
|
||||
+++ b/src/compiler/CMakeLists.txt
|
||||
@@ -75,7 +75,7 @@ else()
|
||||
set(REFLECTION_BUILTINS "")
|
||||
endif()
|
||||
|
||||
-add_library(acpp-clang SHARED
|
||||
+add_library(acpp-clang MODULE
|
||||
AdaptiveCppClangPlugin.cpp
|
||||
GlobalsPruningPass.cpp
|
||||
${SSCP_COMPILER}
|
||||
22
_service
22
_service
@@ -1,24 +1,4 @@
|
||||
<services>
|
||||
<service name="format_spec_file" mode="manual" />
|
||||
<service name="obs_scm" mode="manual">
|
||||
<param name="filename">adaptivecpp</param>
|
||||
<param name="url">https://github.com/AdaptiveCpp/AdaptiveCpp.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="revision">v24.10.0</param>
|
||||
<param name="versionformat">@PARENT_TAG@~@TAG_OFFSET@</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
</service>
|
||||
|
||||
|
||||
<service name="set_version" mode="manual" />
|
||||
|
||||
<service name="tar" mode="buildtime">
|
||||
<param name="package-meta">yes</param>
|
||||
</service>
|
||||
<service name="recompress" mode="buildtime">
|
||||
<param name="compression">gz</param>
|
||||
<param name="file">*.tar</param>
|
||||
</service>
|
||||
|
||||
<service name="download_files" mode="manual" />
|
||||
</services>
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/AdaptiveCpp/AdaptiveCpp.git</param>
|
||||
<param name="changesrevision">7677cf6eefd8ab46d66168cd07ab042109448124</param></service></servicedata>
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:101237e10e366c61a6b7a97c3f188b7846d3e4f9c19868d6e77e6e0b802a06bb
|
||||
size 6225933
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:940e5f4f38d2dbb699134bed8189874dce52cbf582f917ebeb1cc531f688907a
|
||||
size 6600205
|
||||
3
adaptivecpp-25.02.0.tar.gz
Normal file
3
adaptivecpp-25.02.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8cc8a3be7bb38f88d7fd51597e0ec924b124d4233f64da62a31b9945b55612ca
|
||||
size 2362488
|
||||
@@ -1,3 +1,41 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 2 14:07:28 UTC 2025 - Eyad Issa <eyadlorenzo@gmail.com>
|
||||
|
||||
- Exclude armv{6,7}l from built arches
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 9 21:53:41 UTC 2025 - Eyad Issa <eyadlorenzo@gmail.com>
|
||||
|
||||
- Update to version 25.02.0:
|
||||
* Introducing AdaptiveCpp portable CUDA (PCUDA):
|
||||
AdaptiveCpp 25.02 introduces support for a new programming
|
||||
model in its generic JIT compiler: The portable CUDA (PCUDA)
|
||||
model. This programming model is a dialect of the CUDA and HIP
|
||||
programming model. AdaptiveCpp PCUDA allows taking CUDA or HIP
|
||||
source code, recompile with AdaptiveCpp, and obtain a single
|
||||
single binary that can dispatch kernels to CPUs, Intel GPUs,
|
||||
AMD GPUs, NVIDIA GPUs (or all at the same time).
|
||||
|
||||
* Full highlights at:
|
||||
https://github.com/AdaptiveCpp/AdaptiveCpp/releases/tag/v25.02.0
|
||||
|
||||
* Full changelog at:
|
||||
https://github.com/AdaptiveCpp/AdaptiveCpp/compare/v24.10.0...v25.02.0
|
||||
|
||||
* Drop adaptivecpp-24.10.0-cmake4.patch: upstreamed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 24 19:26:28 UTC 2025 - Eyad Issa <eyadlorenzo@gmail.com>
|
||||
|
||||
- Use Source URL instead of _service to fetch the source code
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 18 08:24:05 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- fix build with cmake4 boo#1239788 adaptivecpp-24.10.0-cmake4.patch
|
||||
- version is 24.10.0 because the package packs tags without offset
|
||||
- pin to llvm19
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 03 22:30:08 UTC 2025 - Eyad Issa <eyadlorenzo@gmail.com>
|
||||
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
name: adaptivecpp
|
||||
version: 24.10.0~0
|
||||
mtime: 1734735424
|
||||
commit: 7677cf6eefd8ab46d66168cd07ab042109448124
|
||||
@@ -2,6 +2,7 @@
|
||||
# spec file for package adaptivecpp
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2025 Andreas Stieger <Andreas.Stieger@gmx.de>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,16 +18,15 @@
|
||||
|
||||
|
||||
Name: adaptivecpp
|
||||
Version: 24.10.0~0
|
||||
Version: 25.02.0
|
||||
Release: 0
|
||||
Summary: Open implementation of SYCL for CPUs and GPUs
|
||||
License: BSD-2-Clause
|
||||
URL: https://adaptivecpp.github.io
|
||||
Source: %{name}-%{version}.tar.gz
|
||||
Source: https://github.com/AdaptiveCpp/AdaptiveCpp/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
Patch1: 0001-Use-bin-env-python3-instead-of-python3-in-scripts.patch
|
||||
Patch2: 0002-Remove-realpath-in-acpp.patch
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: clang
|
||||
BuildRequires: clang-devel
|
||||
BuildRequires: cmake
|
||||
BuildRequires: fdupes
|
||||
@@ -35,16 +35,15 @@ BuildRequires: gcc-c++
|
||||
BuildRequires: libboost_context-devel
|
||||
BuildRequires: libboost_fiber-devel
|
||||
BuildRequires: libboost_test-devel
|
||||
BuildRequires: libedit-devel
|
||||
BuildRequires: llvm
|
||||
BuildRequires: llvm-devel
|
||||
BuildRequires: make
|
||||
BuildRequires: ninja
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: terminfo
|
||||
BuildRequires: pkgconfig(libedit)
|
||||
BuildRequires: pkgconfig(libxml-2.0)
|
||||
BuildRequires: pkgconfig(libzstd)
|
||||
ExcludeArch: i586
|
||||
ExcludeArch: i586 armv7l armv6l
|
||||
|
||||
%description
|
||||
AdaptiveCpp is an open implementation of SYCL and C++ standard parallelism
|
||||
@@ -122,14 +121,17 @@ Requires: libacpp-clang = %{version}
|
||||
Obsoletes: libadaptivecpp-devel <= %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Development files for AdaptiveCpp
|
||||
AdaptiveCpp is an open implementation of SYCL and C++ standard parallelism
|
||||
for CPUs and GPUs from all vendors.
|
||||
|
||||
This package contains the development files for AdaptiveCpp.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
%autosetup -p1 -n AdaptiveCpp-%{version}
|
||||
|
||||
%build
|
||||
%define __builder ninja
|
||||
%cmake
|
||||
%cmake -DCMAKE_SKIP_RPATH=ON
|
||||
|
||||
%cmake_build
|
||||
|
||||
@@ -148,9 +150,11 @@ Development files for AdaptiveCpp
|
||||
%{_bindir}/acpp
|
||||
%{_bindir}/acpp-hcf-tool
|
||||
%{_bindir}/acpp-appdb-tool
|
||||
%{_bindir}/acpp-pcuda-pp
|
||||
%{_bindir}/acpp-info
|
||||
%{_bindir}/syclcc
|
||||
%{_bindir}/syclcc-clang
|
||||
%{_bindir}/hipSYCL/
|
||||
|
||||
# Leap <= 15.6
|
||||
%if 0%{?sle_version} <= 150600 && 0%{?is_opensuse}
|
||||
@@ -158,6 +162,7 @@ Development files for AdaptiveCpp
|
||||
%endif
|
||||
|
||||
%files devel
|
||||
%license LICENSE
|
||||
%{_includedir}/AdaptiveCpp/
|
||||
%dir %{_prefix}/lib/cmake/
|
||||
%{_prefix}/lib/cmake/AdaptiveCpp/
|
||||
@@ -167,22 +172,28 @@ Development files for AdaptiveCpp
|
||||
%{_prefix}%{_sysconfdir}/AdaptiveCpp/acpp-core.json
|
||||
|
||||
%files -n libacpp-common
|
||||
%license LICENSE
|
||||
%{_prefix}/lib/libacpp-common.so
|
||||
|
||||
%files -n libacpp-clang
|
||||
%license LICENSE
|
||||
%{_prefix}/lib/libacpp-clang.so
|
||||
|
||||
%files -n libacpp-rt
|
||||
%license LICENSE
|
||||
%{_prefix}/lib/libacpp-rt.so
|
||||
|
||||
%files -n libacpp-bitcode
|
||||
%license LICENSE
|
||||
%dir %{_prefix}/lib/hipSYCL/
|
||||
%{_prefix}/lib/hipSYCL/bitcode/
|
||||
|
||||
%files -n libacpp-rt-omp
|
||||
%license LICENSE
|
||||
%{_prefix}/lib/hipSYCL/librt-backend-omp.so
|
||||
|
||||
%files -n libacpp-llvm-to-backend
|
||||
%license LICENSE
|
||||
%dir %{_prefix}/lib/hipSYCL/
|
||||
%{_prefix}/lib/hipSYCL/llvm-to-backend/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user