-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8e4b0a1
commit fad6a60
Showing
2 changed files
with
37 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
# Authors: | ||
# Steve Grubb <[email protected]> | ||
|
||
|
||
EXTRA_DIST = $(man_MANS) | ||
AM_CFLAGS = -D_GNU_SOURCE -fopenmp | ||
AM_CPPFLAGS = -I. | ||
AM_LDFLAGS = -fopenmp | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
Summary: tasker - a parallel execution command | ||
Name: tasker | ||
Version: 0.9 | ||
Release: 1%{?dist} | ||
License: GPLv2+ | ||
URL: https://github.com/stevegrubb/tasker | ||
Packager: Steve Grubb <[email protected]> | ||
Source: %{name}-%{version}.tar.gz | ||
BuildRequires: gcc make | ||
|
||
|
||
%description | ||
Tasker is a program that takes a list from stdin and runs the given command | ||
passing one line from stdin to the command. It determines how many cores to | ||
use, sets affinity to specific hyperthreads, and keeps all hyperthreads busy | ||
until the input pipeline is complete. | ||
|
||
%prep | ||
%setup -q | ||
|
||
%build | ||
%configure | ||
make CFLAGS="%{optflags}" %{?_smp_mflags} | ||
|
||
%install | ||
make DESTDIR="%{buildroot}" INSTALL='install -p' install | ||
|
||
%files | ||
%defattr(755, root, root) | ||
%{_bindir}/* | ||
%{_mandir}/* | ||
|
||
%changelog | ||
* Wed Dec 29 2021 Steve Grubb <[email protected]> 0.9-1 | ||
- Created initial package. | ||
|