Initial packaging
This commit is contained in:
commit
c9b6b7822d
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
17
_service
Normal file
17
_service
Normal file
@ -0,0 +1,17 @@
|
||||
<services>
|
||||
<service name="format_spec_file" mode="manual" />
|
||||
<service name="obs_scm" mode="manual">
|
||||
<param name="url">https://github.com/oneapi-src/oneCCL.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="revision">2021.14</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
</service>
|
||||
<service name="set_version" mode="manual" />
|
||||
|
||||
<service name="tar" mode="buildtime" />
|
||||
<service name="recompress" mode="buildtime">
|
||||
<param name="compression">gz</param>
|
||||
<param name="file">oneCCL-*.tar</param>
|
||||
</service>
|
||||
|
||||
</services>
|
BIN
oneCCL-2021.14.obscpio
(Stored with Git LFS)
Normal file
BIN
oneCCL-2021.14.obscpio
(Stored with Git LFS)
Normal file
Binary file not shown.
4
oneCCL.obsinfo
Normal file
4
oneCCL.obsinfo
Normal file
@ -0,0 +1,4 @@
|
||||
name: oneCCL
|
||||
version: 2021.14
|
||||
mtime: 1730889732
|
||||
commit: 3afa1bb7936f57683a2503c34b29c0daca6a9ccb
|
4
oneccl.changes
Normal file
4
oneccl.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 4 00:20:22 UTC 2025 - Eyad Issa <eyadlorenzo@gmail.com>
|
||||
|
||||
- Initial packaging at version 2021.14
|
84
oneccl.spec
Normal file
84
oneccl.spec
Normal file
@ -0,0 +1,84 @@
|
||||
#
|
||||
# spec file for package oneccl
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define _openmpi_version 4
|
||||
Name: oneccl
|
||||
Version: 2021.14
|
||||
Release: 0
|
||||
Summary: oneAPI Collective Communications Library (oneCCL)
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/oneapi-src/oneCCL
|
||||
Source0: oneCCL-%{version}.tar.gz
|
||||
BuildRequires: clang
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libfabric-devel
|
||||
BuildRequires: llvm-gold
|
||||
BuildRequires: mpi-selector
|
||||
BuildRequires: ninja
|
||||
BuildRequires: openmpi%{_openmpi_version}-devel
|
||||
|
||||
%description
|
||||
oneAPI Collective Communications Library (oneCCL) provides an efficient
|
||||
implementation of communication patterns used in deep learning.
|
||||
|
||||
oneCCL is governed by the UXL Foundation and is an implementation of
|
||||
the oneAPI specification.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for oneCCL
|
||||
|
||||
%description devel
|
||||
oneAPI Collective Communications Library (oneCCL) provides an efficient
|
||||
implementation of communication patterns used in deep learning.
|
||||
|
||||
This package contains the development files for oneCCL.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n oneCCL-%{version}
|
||||
|
||||
%build
|
||||
source /etc/mpi-selector/data/openmpi%{_openmpi_version}.sh
|
||||
|
||||
# it can't build with gcc because of an intrinsic error
|
||||
export CXX=mpic++
|
||||
export CC=mpicc
|
||||
|
||||
%define __builder ninja
|
||||
%cmake \
|
||||
-DUSE_SECURITY_FLAGS=OFF \
|
||||
-DBUILD_EXAMPLES=OFF \
|
||||
-DBUILD_FT=OFF \
|
||||
-DMPI_DIR=%{_prefix} \
|
||||
-DLIBFABRIC_DIR=%{_prefix}
|
||||
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
|
||||
%files devel
|
||||
%dir %{_includedir}/oneapi
|
||||
%{_includedir}/oneapi/ccl.hpp
|
||||
%{_includedir}/oneapi/ccl/
|
||||
|
||||
%{_prefix}/lib/cmake/oneCCL/oneCCLConfig.cmake
|
||||
%{_prefix}/lib/cmake/oneCCL/oneCCLConfigVersion.cmake
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user