unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Leo Famulari <leo@famulari.name>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] Add Vc
Date: Mon, 03 Oct 2016 10:45:15 +0200	[thread overview]
Message-ID: <87int93jok.fsf@elephly.net> (raw)
In-Reply-To: <20161001222412.GA6848@jasmine>


Leo Famulari <leo@famulari.name> writes:

> This is a depend of Krita.

> From 808b47b3b7a9d769f3a6a873d19a0051f64720f7 Mon Sep 17 00:00:00 2001
> From: Leo Famulari <leo@famulari.name>
> Date: Fri, 30 Sep 2016 13:38:20 -0400
> Subject: [PATCH] gnu: Add Vc.

> * gnu/packages/maths.scm (vc): New variable.
> ---
>  gnu/packages/maths.scm | 34 ++++++++++++++++++++++++++++++++++
>  1 file changed, 34 insertions(+)

> diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
> index 0401cd3..c033123 100644
> --- a/gnu/packages/maths.scm
> +++ b/gnu/packages/maths.scm
> @@ -2629,3 +2629,37 @@ the same amount of space as the original point representation.  This is useful
>  when using the Gilbert curve as a space filling curve through a
>  high-dimensional space where not all demensions have the same cardinality.")
>      (license license:lgpl2.1+)))
> +
> +(define-public vc
> +  (package
> +    (name "vc")
> +    (version "1.2.0")
> +    (source
> +      (origin (method url-fetch)
> +              (uri (string-append "https://github.com/VcDevel/Vc/releases/"
> +                                  "download/" version "/Vc-" version ".tar.gz"))
> +              (sha256
> +               (base32
> +                "1rh6dhqar3y07n4xqyml0sa0v48qv3ch9dc3yc2in855hlh4vnqi"))))
> +    (build-system cmake-build-system)
> +    (arguments
> +     '(#:configure-flags
> +       '("-DBUILD_TESTING=ON"))) ; Is this the test suite we want?
> +    (synopsis "SIMD Vector Classes for C++ ")

There’s a trailing space here.  Also, “Vector Classes” probably should
be lowercase.

> +    (description "Vc provides portable, zero-overhead C++ types for explicitly
> +data-parallel programming.  It is a library designed to ease explicit
> +vectorization of C++ code.  Its types enable explicitly stating data-parallel
> +operations on multiple values. The parallelism is therefore added via the type
> +system.  Vc has an intuitive API and provides portability between different
> +compilers and compiler versions as well as portability between different vector
> +instruction sets. Thus, an application written with Vc can be
> compiled for:

Before “Thus” you need an additional space.

> +@enumerate
> +@item AVX and AVX2
> +@item SSE2 upto SSE4.2 or SSE4a
> +@item Scalar
> +@item MIC
> +@item NEON (in development)
> +@item NVIDIA GPUs / CUDA (in development)
> +@end enumerate\n")
> +    (home-page "https://github.com/VcDevel")

Shouldn’t this be https://github.com/VcDevel/Vc ?

> +    (license license:bsd-3)))

The rest looks good to me!  Thanks!

~~ Ricardo

  parent reply	other threads:[~2016-10-03  8:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-01 22:24 [PATCH] Add Vc Leo Famulari
2016-10-01 22:30 ` Leo Famulari
2016-10-03  8:45 ` Ricardo Wurmus [this message]
2016-10-05 20:26   ` Leo Famulari
2016-10-07  7:24     ` Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87int93jok.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=guix-devel@gnu.org \
    --cc=leo@famulari.name \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).