From 0f7cd95b8138f120bf0bc0593e772ed8c373f994 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 3 Oct 2016 23:20:23 +0200 Subject: gnu: gctp: 'license' field now has a value. * gnu/packages/maths.scm (gctp)[license]: Change to a record. --- gnu/packages/maths.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/maths.scm') diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 0401cd3bd5..de8c3231c8 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -442,7 +442,7 @@ from one map projection to another. The GCTP is the standard computer software used by the National Mapping Division for map projection computations.") (home-page "https://github.com/OkoSanto/GCTP") - (license 'license:public-domain))) ; https://www2.usgs.gov/laws/info_policies.html + (license license:public-domain))) ;https://www2.usgs.gov/laws/info_policies.html (define-public hdf5 (package -- cgit v1.2.3 From 8c82e1c9d3b31f326a747a420282f7eedeb92100 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 4 Oct 2016 16:27:35 +0200 Subject: gnu: gsl: Update to 2.2.1. * gnu/packages/maths.scm (gsl): Update to 2.2.1. --- gnu/packages/maths.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/maths.scm') diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index de8c3231c8..8f480a66b2 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -185,7 +185,7 @@ semiconductors.") (define-public gsl (package (name "gsl") - (version "2.1") + (version "2.2.1") (source (origin (method url-fetch) @@ -193,7 +193,7 @@ semiconductors.") version ".tar.gz")) (sha256 (base32 - "0rhcia9jhr3p1f1wybwyllwqfs9bggz99i3mi5lpyqcpff1hdbar")))) + "095hp01d8lkqdvv0p1k25kvbisgfdmvx1rzpyc2i8kl2n33kvlhk")))) (build-system gnu-build-system) (arguments `(#:parallel-tests? #f)) -- cgit v1.2.3 From ab2cc5cde16ec850c63fa55cc4ce82cf31683344 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 5 Oct 2016 14:52:47 +0200 Subject: gnu: gsl: Disable failing tests on i686. * gnu/packages/patches/gsl-test-i686.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/maths.scm (gsl)[source](patches): New field. --- gnu/local.mk | 1 + gnu/packages/maths.scm | 16 ++++++++-------- gnu/packages/patches/gsl-test-i686.patch | 17 +++++++++++++++++ 3 files changed, 26 insertions(+), 8 deletions(-) create mode 100644 gnu/packages/patches/gsl-test-i686.patch (limited to 'gnu/packages/maths.scm') diff --git a/gnu/local.mk b/gnu/local.mk index 66d6bcb21c..a609bf697c 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -556,6 +556,7 @@ dist_patch_DATA = \ %D%/packages/patches/grub-CVE-2015-8370.patch \ %D%/packages/patches/grub-gets-undeclared.patch \ %D%/packages/patches/grub-freetype.patch \ + %D%/packages/patches/gsl-test-i686.patch \ %D%/packages/patches/guile-1.8-cpp-4.5.patch \ %D%/packages/patches/guile-arm-fixes.patch \ %D%/packages/patches/guile-default-utf8.patch \ diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 8f480a66b2..a00b38a7e4 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -186,14 +186,14 @@ semiconductors.") (package (name "gsl") (version "2.2.1") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://gnu/gsl/gsl-" - version ".tar.gz")) - (sha256 - (base32 - "095hp01d8lkqdvv0p1k25kvbisgfdmvx1rzpyc2i8kl2n33kvlhk")))) + (source (origin + (method url-fetch) + (uri (string-append "mirror://gnu/gsl/gsl-" + version ".tar.gz")) + (sha256 + (base32 + "095hp01d8lkqdvv0p1k25kvbisgfdmvx1rzpyc2i8kl2n33kvlhk")) + (patches (search-patches "gsl-test-i686.patch")))) (build-system gnu-build-system) (arguments `(#:parallel-tests? #f)) diff --git a/gnu/packages/patches/gsl-test-i686.patch b/gnu/packages/patches/gsl-test-i686.patch new file mode 100644 index 0000000000..8828c08614 --- /dev/null +++ b/gnu/packages/patches/gsl-test-i686.patch @@ -0,0 +1,17 @@ +Work around a test failure due to a rounding issue on 32-bit +platforms, as reported at: + + https://lists.gnu.org/archive/html/bug-gsl/2016-10/msg00000.html + +--- gsl-2.2.1/linalg/test.c 2016-10-05 13:27:42.464059730 +0200 ++++ gsl-2.2.1/linalg/test.c 2016-10-05 13:27:46.988095882 +0200 +@@ -4843,9 +4843,6 @@ main(void) + gsl_test(test_cholesky_decomp_unit(), "Cholesky Decomposition [unit triangular]"); + gsl_test(test_cholesky_solve(), "Cholesky Solve"); + +- gsl_test(test_cholesky_decomp(r), "Cholesky Decomposition"); +- gsl_test(test_cholesky_invert(r), "Cholesky Inverse"); +- gsl_test(test_pcholesky_decomp(r), "Pivoted Cholesky Decomposition"); + gsl_test(test_pcholesky_solve(r), "Pivoted Cholesky Solve"); + gsl_test(test_pcholesky_invert(r), "Pivoted Cholesky Inverse"); + gsl_test(test_mcholesky_decomp(r), "Modified Cholesky Decomposition"); -- cgit v1.2.3 From 517318adf04f645812d833f66f1505eebbed77e8 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Fri, 30 Sep 2016 13:38:20 -0400 Subject: gnu: Add Vc. * gnu/packages/maths.scm (vc): New variable. --- gnu/packages/maths.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'gnu/packages/maths.scm') diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index a00b38a7e4..6442564ddb 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"))) + (synopsis "SIMD vector classes for C++") + (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: +@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/Vc") + (license license:bsd-3))) -- cgit v1.2.3