Author: sparky Date: Sat Jan 21 01:15:28 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - new, cilk (parallel language) compiler
---- Files affected: SPECS: cilk.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/cilk.spec diff -u /dev/null SPECS/cilk.spec:1.1 --- /dev/null Sat Jan 21 02:15:28 2006 +++ SPECS/cilk.spec Sat Jan 21 02:15:23 2006 @@ -0,0 +1,91 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without tests # build without tests +# +Summary: Cilk compiler +Summary(pl): Kompilator cilka +Name: cilk +Version: 5.4.2.2 +%define _rev 1708 +Release: 0.1 +License: GPL v2 and LGPL +Group: Development/Languages +Source0: http://bradley.csail.mit.edu/~bradley/cilk/downloads/%{name}-%{version}_%{_rev}.tar.bz2 +# Source0-md5: 1046f684ac72076106574fcc8326e612 +URL: http://supertech.lcs.mit.edu/cilk/ +BuildRequires: flex +Requires: gcc +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Cilk is a language for multithreaded parallel programming based on +ANSI C. Cilk is designed for general-purpose parallel programming, but +it is especially effective for exploiting dynamic, highly asynchronous +parallelism, which can be difficult to write in data-parallel or +message-passing style. + +%description -l pl + +%package static +Summary: Static cilk libraries +Summary(pl): Statyczne biblioteki cilka +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description static +Static cilk libraries. + +%description static -l pl +Statyczne biblioteki cilka + +%prep +%setup -q -n %{version} +%{!?with_tests:sed 's/ examples / /' -i Makefile.in} + +%build +#%%{__libtoolize} +#%%{__aclocal} -I m4dir +#%%{__autoconf} +#%%{__autoheader} +#%%{__automake} + +%configure +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(644,root,root,755) +%doc AUTHORS ChangeLog NEWS README THANKS +%attr(755,root,root) %{_bindir}/* +%attr(755,root,root) %{_libdir}/*.so.*.*.* +%{_includedir}/%{name} +%attr(755,root,root) %{_libdir}/*.so +%{_libdir}/*.la +# contains libcilkrt0*.a +%{_libdir}/%{name} + +%files static +%defattr(644,root,root,755) +%{_libdir}/*.a + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2006/01/21 01:15:23 sparky +- new, cilk (parallel language) compiler + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
