Sync from SUSE:SLFO:Main nvptx-tools revision 49e977e6d2f527a0f3864341ebf5b61d
This commit is contained in:
commit
9f015e7ccd
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
|
14
_service
Normal file
14
_service
Normal file
@ -0,0 +1,14 @@
|
||||
<services>
|
||||
<service mode="disabled" name="tar_scm">
|
||||
<param name="url">https://github.com/MentorEmbedded/nvptx-tools</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
<param name="filename">nvptx-tools</param>
|
||||
<param name="versionformat">1.0+git.%cd.%h</param>
|
||||
</service>
|
||||
<service mode="disabled" name="recompress">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service mode="disabled" name="set_version"/>
|
||||
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/MentorEmbedded/nvptx-tools</param>
|
||||
<param name="changesrevision">93e00909ceb9cbbc104f0fcba56c0361ffb3ca4b</param></service></servicedata>
|
BIN
nvptx-tools-1.0+git.20230122.93e0090.tar.xz
(Stored with Git LFS)
Normal file
BIN
nvptx-tools-1.0+git.20230122.93e0090.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
50
nvptx-tools.changes
Normal file
50
nvptx-tools.changes
Normal file
@ -0,0 +1,50 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 21 21:44:49 UTC 2023 - mliska@suse.cz
|
||||
|
||||
- Start using tar_scm OBS server for a tarball.
|
||||
- Update to version 1.0+git.20230122.93e0090:
|
||||
* nm: '#define __STDC_FORMAT_MACROS' for '#include <inttypes.h>' [#40]
|
||||
* 'nm'
|
||||
* ld: Clean up the 'symbol_table' when we're done
|
||||
* as: Clean up the 'symbol_table' when we're done
|
||||
* ld: Clean up 'file_hash_entry' instances when we're done with the 'symbol_table'
|
||||
* as: Always 'free' the 'tok_preamble_target_arg'-deduced 'target_arg' string after 'ptxas' verification
|
||||
* as: 'obstack_free' after 'ptxas' verification
|
||||
* run: Close files after use
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 09:34:42 UTC 2022 - Richard Biener <rguenther@suse.com>
|
||||
|
||||
- Update nvptx-tools tarball from git
|
||||
* includes changes in nvptx-tools.patch
|
||||
* deals with CUDA 11 dropping support for NVIDIA Kepler sm_30 and sm_32
|
||||
- Remove nvptx-tools.patch as it is included in the above tarball update
|
||||
- Package nvptx-none-run and nvptx-none-run-single tools
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 3 12:02:34 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||
|
||||
- Enable build on aarch64
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 5 07:03:59 UTC 2017 - rguenther@suse.com
|
||||
|
||||
- Update nvptx-tools.patch to check for getopt to avoid providing
|
||||
an incompatible declaration.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 6 14:56:34 UTC 2017 - jengelh@inai.de
|
||||
|
||||
- Update description
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 6 11:18:26 UTC 2017 - rguenther@suse.com
|
||||
|
||||
- Package COPYING3.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 26 11:30:32 UTC 2017 - rguenther@suse.com
|
||||
|
||||
- Initial version.
|
||||
- Add nvptx-tools.patch to avoid errors when ptxas is not available.
|
||||
|
68
nvptx-tools.spec
Normal file
68
nvptx-tools.spec
Normal file
@ -0,0 +1,68 @@
|
||||
#
|
||||
# spec file for package nvptx-tools
|
||||
#
|
||||
# Copyright (c) 2023 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/
|
||||
#
|
||||
|
||||
|
||||
Name: nvptx-tools
|
||||
Version: 1.0+git.20230122.93e0090
|
||||
Release: 0
|
||||
Summary: PTX language tools
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
URL: https://github.com/MentorEmbedded/nvptx-tools/
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Note that w/o a CUDA development (at least cuda.h and libcuda.so) the
|
||||
# tools for executing are not built. CUDA is not free software.
|
||||
BuildRequires: gcc-c++
|
||||
# The package is used for NVPTX offloading support in GCC which is currently
|
||||
# only enabled on x86_64 and aarch64
|
||||
ExclusiveArch: x86_64 aarch64
|
||||
|
||||
%description
|
||||
A collection of tools for use with nvptx-none (NVIDIA Parallel Thread
|
||||
Execution) GCC toolchains.
|
||||
|
||||
* nvptx-none-as: "assembler" for PTX.
|
||||
* nvptx-none-ld: "linker" for PTX.
|
||||
* nvptx-none-run: run PTX binaries compiled with -mmainkernel.
|
||||
* nvptx-none-run-single: like nvptx-none-run, but locked, such that
|
||||
system-wide, only one instance of it is running at a time.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} install
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%dir %{_prefix}/nvptx-none
|
||||
%{_prefix}/nvptx-none
|
||||
%{_bindir}/nvptx-none-ar
|
||||
%{_bindir}/nvptx-none-as
|
||||
%{_bindir}/nvptx-none-ld
|
||||
%{_bindir}/nvptx-none-nm
|
||||
%{_bindir}/nvptx-none-ranlib
|
||||
%{_bindir}/nvptx-none-run
|
||||
%{_bindir}/nvptx-none-run-single
|
||||
%doc COPYING3
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user