guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] gnu: Add nlopt.


From: Leo Famulari
Subject: Re: [PATCH] gnu: Add nlopt.
Date: Sat, 9 Apr 2016 12:21:09 -0400
User-agent: Mutt/1.5.24 (2015-08-30)

On Sat, Apr 09, 2016 at 12:54:43PM +0200, Mathieu Lirzin wrote:
> Leo Famulari <address@hidden> writes:
> 
> > On Fri, Apr 08, 2016 at 12:18:15PM +0200, Mathieu Lirzin wrote:
> >> Roel Janssen <address@hidden> writes:
> >> 
> >> > Strangely enough, I couldn't apply it either.  I don't know what
> >> > happened..  I regenerated the patch, and now I was able to apply it to
> >> > my source tree.  Hopefully it works for you too now.
> >> 
> >> This problem has already happened to me last year.  I suspect it is/was a
> >> bug in Git.
> >
> > I've attached the diffoscope report (HTML) between the first two patches
> > in this thread.
> 
> Do you mean “attached” like in email attachment?  If so then I don't see
> the attachment...

Gah, I do that all the time! :p

Here it is...
good vs.
bad
Offset 1, 22 lines modified Offset 1, 22 lines modified
1 From·224c4e32265dc229663f6​93759bd1cafa5ee6a20·​Mon·​Sep·​17·​00:​00:​00·​2001 1 From·558175f69ba52446eca75​ab79b641c8f0204093e·​Mon·​Sep·​17·​00:​00:​00·​2001
2 From:​·​Roel·​Janssen·​<address@hidden> 2 From:​·​Roel·​Janssen·​<address@hidden>
3 Date:​·​Thu,​·​7·​Apr·​2016·23:​18:​04·​+0200 3 Date:​·​Thu,​·​7·​Apr·​2016·13:​22:​35·​+0200
4 Subject:​·​[PATCH]·​gnu:​·​Add·​nlopt.​ 4 Subject:​·​[PATCH]·​gnu:​·​Add·​nlopt.​
   
5 *·​gnu/​packages/​maths.​scm·​(nlopt)​:​·​New·​variable.​ 5 *·​gnu/​packages/​maths.​scm·​(nlopt)​:​·​New·​variable.​
6 -​-​-​ 6 -​-​-​
7 ·​gnu/​packages/​maths.​scm·​|·​20·​++++++++++++++++++++ 7 ·​gnu/​packages/​maths.​scm·​|·​20·​++++++++++++++++++++
8 ·​1·​file·​changed,​·​20·​insertions(+)​ 8 ·​1·​file·​changed,​·​20·​insertions(+)​
   
9 diff·​-​-​git·​a/​gnu/​packages/​maths.​scm·​b/​gnu/​packages/​maths.​scm 9 diff·​-​-​git·​a/​gnu/​packages/​maths.​scm·​b/​gnu/​packages/​maths.​scm
10 index·​adebf09.​.​2a79e41·​100644 10 index·​adebf09.​.​6b9d79d·​100644
11 -​-​-​·​a/​gnu/​packages/​maths.​scm 11 -​-​-​·​a/​gnu/​packages/​maths.​scm
12 +++·​b/​gnu/​packages/​maths.​scm 12 +++·​b/​gnu/​packages/​maths.​scm
13 @@·​-​911,​6·​+911,​26·​@@·​sparse·​system·​of·​linear·​equations·​A·​x·​=·​b·​using·​Guassian·​elimination.​")​ 13 @@·​-​911,​7·​+911,​26·​@@·​sparse·​system·​of·​linear·​equations·​A·​x·​=·​b·​using·​Guassian·​elimination.​")​
14 ·····​(inputs 14 ·····​(inputs
15 ······​(alist-​delete·​"pt-​scotch"·​(package-​inputs·​mumps-​openmpi)​)​)​)​)​ 15 ······​(alist-​delete·​"pt-​scotch"·​(package-​inputs·​mumps-​openmpi)​)​)​)​)​
16 · 16 ·
17 +(define-​public·​nlopt 17 +(define-​public·​nlopt
18 +··​(package 18 +··​(package
19 +····​(name·​"nlopt")​ 19 +····​(name·​"nlopt")​
20 +····​(version·​"2.​4.​2")​ 20 +····​(version·​"2.​4.​2")​
Offset 27, 18 lines modified Offset 27, 18 lines modified
27 +······​(sha256 27 +······​(sha256
28 +·······​(base32·​"12cfkkhcdf4zmb6h7y6q​vvdvqjs2xf9sjpa3rl3bq​76px4yn76c0")​)​)​)​ 28 +·······​(base32·​"12cfkkhcdf4zmb6h7y6q​vvdvqjs2xf9sjpa3rl3bq​76px4yn76c0")​)​)​)​
29 +····​(build-​system·​gnu-​build-​system)​ 29 +····​(build-​system·​gnu-​build-​system)​
30 +····​(arguments 30 +····​(arguments
31 +·····​`(#:​configure-​flags·​'("-​-​enable-​shared")​)​)​·​;​·​Also·​create·​a·​shared·​library.​ 31 +·····​`(#:​configure-​flags·​'("-​-​enable-​shared")​)​)​·​;​·​Also·​create·​a·​shared·​library.​
32 +····​(home-​page·​"http:​/​/​ab-​initio.​mit.​edu/​wiki/​")​ 32 +····​(home-​page·​"http:​/​/​ab-​initio.​mit.​edu/​wiki/​")​
33 +····​(synopsis·​"Library·​for·​non-​linear·​optimization")​ 33 +····​(synopsis·​"Library·​for·​non-​linear·​optimization")​
34 +····​(description·​"NLopt·​is·​a·​library·​for·​nonlinear·​optimization,​·​providing·​a 34 +····​(description·​"NLopt·​is·​a·​library·​for·​non-​linear·​optimization,​·​providing·​a
35 +common·​interface·​for·​a·​number·​of·​different·​free·​optimization·​routines·​available 35 +common·​interface·​for·​a·​number·​of·​different·​free·​optimization·​routines·​available
36 +online·​as·​well·​as·​original·​implementations·​of·​various·​other·​algorithms.​")​ 36 +online·​as·​well·​as·​original·​implementations·​of·​various·​other·​algorithms.​")​
37 +····​(license·​license:​lgpl2.​1+)​)​)​ 37 +····​(license·​license:​lgpl3)​)​)​
38 + 38 +
39 ·​(define-​public·​superlu 39 ·​(define-​public·​superlu
40 ···​(package 40 ···​(package
41 ·····​(name·​"superlu")​ 41 ·····​(name·​"superlu")​
42 -​-​· 42 -​-​·
43 2.​5.​5 43 2.​5.​5
   

reply via email to

[Prev in Thread] Current Thread [Next in Thread]