public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Remik Ziemlinski <remik.ziemlinski@gmail.com>
To: cygwin-apps@cygwin.com
Subject: Re: [ITP] nccmp 1.7.4.1
Date: Mon, 19 Oct 2015 15:57:00 -0000	[thread overview]
Message-ID: <562512D6.4010506@gmail.com> (raw)
In-Reply-To: <560E9834.7080603@gmail.com>

Can this be validated?  I fixed upstream to build out of source-tree.

setup.hint:
category: Science
requires: cygwin libnetcdf7 netcdf libnetcdf-devel
sdesc: "Compare two NetCDF files."
ldesc: "Compare two NetCDF files bitwise, semantically or
with a user defined tolerance (absolute or relative
percentage). Parallel comparisons are done in local memory
without requiring temporary files. Highly recommended for
regression testing scientific models or datasets in a
test-driven development environment."

Package files:
https://downloads.sourceforge.net/project/nccmp/cygwin/i686/setup.hint
https://downloads.sourceforge.net/project/nccmp/cygwin/i686/nccmp-1.7.5.1-1-src.tar.xz
https://downloads.sourceforge.net/project/nccmp/cygwin/i686/nccmp-1.7.5.1-1.tar.xz
https://downloads.sourceforge.net/project/nccmp/cygwin/x86_64/setup.hint
https://downloads.sourceforge.net/project/nccmp/cygwin/x86_64/nccmp-1.7.5.1-1-src.tar.xz
https://downloads.sourceforge.net/project/nccmp/cygwin/x86_64/nccmp-1.7.5.1-1.tar.xz 


Existing reference Ubuntu packages:
https://launchpad.net/~remik-ziemlinski/+archive/ubuntu/nccmp

nccmp.cygport:
NAME="nccmp"
VERSION=1.7.5.1
RELEASE=1

CATEGORY="Science"
SUMMARY="Compare two NetCDF files."
DESCRIPTION="Compare two NetCDF files bitwise, semantically or
with a user defined tolerance (absolute or relative
percentage). Parallel comparisons are done in local memory
without requiring temporary files. Highly recommended for
regression testing scientific models or datasets in a
test-driven development environment."

REQUIRES="netcdf libnetcdf-devel"
HOMEPAGE="http://nccmp.sourceforge.net"
SRC_URI="https://downloads.sourceforge.net/project/nccmp/nccmp-1.7.5.1.tar.xz"

Build:
./configure && make && make check && make install

Thanks,
Remik

On 10/2/2015 10:44 AM, Remik Ziemlinski wrote:
> On 10/2/2015 1:26 AM, Marco Atzeri wrote:
>> On 30/09/2015 02:54, Remik Ziemlinski wrote:
>>> This is a command-line diff tool for the NetCDF scientific data file
>>> format.
>>> It's used by labs worldwide and I am the author.
>>>
>>
>>  $ cygport nccmp.cygport check
>>  does not work.
> Ah, VPATH build is not supported upstream; I will fix that.  In the 
> meantime, adding a custom "src_compile" rule solves the problem. 
> Thanks for catching that.
> nccmp.cygport:
> NAME="nccmp"
> VERSION=1.7.4.1
> RELEASE=1
>
> CATEGORY="Science"
> SUMMARY="Compare two NetCDF files."
> DESCRIPTION="Compare two NetCDF files bitwise, semantically or
> with a user defined tolerance (absolute or relative
> percentage). Parallel comparisons are done in local memory
> without requiring temporary files. Highly recommended for
> regression testing scientific models or datasets in a
> test-driven development environment."
>
> REQUIRES="netcdf libnetcdf-devel"
> HOMEPAGE="http://nccmp.sourceforge.net"
> SRC_URI="https://downloads.sourceforge.net/project/nccmp/nccmp-1.7.4.1.tar.xz" 
>
>
> src_compile() {
>   cd ${S}
>   cygconf
>   lndirs
>   cd ${B}
>   cygmake
> }
>
>>
>>
>>
>> gcc -DHAVE_CONFIG_H -I. 
>> -I/pub/tmp/ITP/nccmp-1.7.4.1-1.x86_64/src/nccmp-1.7.4.1/ 
>>                            test -I..  -I../src  -I/include -I/libsrc4 
>> -ggdb -O2 -pipe -Wimplicit-function-d eclaration 
>> -fdebug-prefix-map=/pub/tmp/ITP/nccmp-1.7.4.1-1.x86_64/build=/usr/src 
>>                                         /debug/nccmp-1.7.4.1-1 
>> -fdebug-prefix-map=/pub/tmp/ITP/nccmp-1.7.4.1-1.x86_64/sr
>> c/nccmp-1.7.4.1=/usr/src/debug/nccmp-1.7.4.1-1  -MT 
>> test_nccmp_odometer-test_ncc mp_odometer.o -MD -MP -MF 
>> .deps/test_nccmp_odometer-test_nccmp_odometer.Tpo -c - 
>>                          o test_nccmp_odometer-test_nccmp_odometer.o 
>> `test -f 'test_nccmp_odometer.c' ||        echo 
>> '/pub/tmp/ITP/nccmp-1.7.4.1-1.x86_64/src/nccmp-1.7.4.1/test/'`test_nccmp_od 
>>                                           ometer.c
>> /pub/tmp/ITP/nccmp-1.7.4.1-1.x86_64/src/nccmp-1.7.4.1/test/test_nccmp_odometer.c 
>>                                           :2:28: fatal error: 
>> nccmp_odometer.h: No such file or directory
>>  #include <nccmp_odometer.h>
>>                             ^
>> compilation terminated.
>> Makefile:713: recipe for target 
>> 'test_nccmp_odometer-test_nccmp_odometer.o' fail                    ed
>> make[2]: *** [test_nccmp_odometer-test_nccmp_odometer.o] Error 1
>> make[2]: Target 'test_nccmp_odometer.exe' not remade because of errors.
>> gcc -DHAVE_CONFIG_H -I. 
>> -I/pub/tmp/ITP/nccmp-1.7.4.1-1.x86_64/src/nccmp-1.7.4.1/ 
>>                            test -I..  -I../src  -I/include -I/libsrc4 
>> -ggdb -O2 -pipe -Wimplicit-function-d eclaration 
>> -fdebug-prefix-map=/pub/tmp/ITP/nccmp-1.7.4.1-1.x86_64/build=/usr/src 
>>                                         /debug/nccmp-1.7.4.1-1 
>> -fdebug-prefix-map=/pub/tmp/ITP/nccmp-1.7.4.1-1.x86_64/sr
>> c/nccmp-1.7.4.1=/usr/src/debug/nccmp-1.7.4.1-1  -MT 
>> test_nccmp_strlist-test_nccm p_strlist.o -MD -MP -MF 
>> .deps/test_nccmp_strlist-test_nccmp_strlist.Tpo -c -o te 
>> st_nccmp_strlist-test_nccmp_strlist.o `test -f 'test_nccmp_strlist.c' 
>> || echo '/ 
>> pub/tmp/ITP/nccmp-1.7.4.1-1.x86_64/src/nccmp-1.7.4.1/test/'`test_nccmp_strlist.c
>> mv -f .deps/test_nccmp_strlist-test_nccmp_strlist.Tpo 
>> .deps/test_nccmp_strlist-t est_nccmp_strlist.Po
>> gcc -I/include -I/libsrc4 -ggdb -O2 -pipe 
>> -Wimplicit-function-declaration -fdebu
>> g-prefix-map=/pub/tmp/ITP/nccmp-1.7.4.1-1.x86_64/build=/usr/src/debug/nccmp-1.7. 
>>                                           4.1-1 
>> -fdebug-prefix-map=/pub/tmp/ITP/nccmp-1.7.4.1-1.x86_64/src/nccmp-1.7.4.1=/ 
>> usr/src/debug/nccmp-1.7.4.1-1    -o test_nccmp_strlist.exe 
>> test_nccmp_strlist-te                       st_nccmp_strlist.o 
>> ../src/nccmp-xmalloc.o ../src/nccmp-nccmp_strlist.o -lnetcdf          
>> -lm
>> gcc -DHAVE_CONFIG_H -I. 
>> -I/pub/tmp/ITP/nccmp-1.7.4.1-1.x86_64/src/nccmp-1.7.4.1/ 
>>                            test -I..  -I../src  -I/include -I/libsrc4 
>> -ggdb -O2 -pipe -Wimplicit-function-d eclaration 
>> -fdebug-prefix-map=/pub/tmp/ITP/nccmp-1.7.4.1-1.x86_64/build=/usr/src 
>>                                         /debug/nccmp-1.7.4.1-1 
>> -fdebug-prefix-map=/pub/tmp/ITP/nccmp-1.7.4.1-1.x86_64/sr
>> c/nccmp-1.7.4.1=/usr/src/debug/nccmp-1.7.4.1-1  -MT 
>> test_nccmp_user_type-test_nc cmp_user_type.o -MD -MP -MF 
>> .deps/test_nccmp_user_type-test_nccmp_user_type.Tpo 
>>                        -c -o 
>> test_nccmp_user_type-test_nccmp_user_type.o `test -f 
>> 'test_nccmp_user_type .c' || echo 
>> '/pub/tmp/ITP/nccmp-1.7.4.1-1.x86_64/src/nccmp-1.7.4.1/test/'`test_n 
>>                                        ccmp_user_type.c
>> /pub/tmp/ITP/nccmp-1.7.4.1-1.x86_64/src/nccmp-1.7.4.1/test/test_nccmp_user_type. 
>>                                           c:1:25: fatal error: 
>> nccmp_error.h: No such file or directory
>>  #include <nccmp_error.h>
>>                          ^
>> compilation terminated.
>> Makefile:741: recipe for target 
>> 'test_nccmp_user_type-test_nccmp_user_type.o' fa                    iled
>> make[2]: *** [test_nccmp_user_type-test_nccmp_user_type.o] Error 1
>> make[2]: Target 'test_nccmp_user_type.exe' not remade because of errors.
>> make[2]: Leaving directory 
>> '/cygdrive/e/cyg_pub/tmp/ITP/nccmp-1.7.4.1-1.x86_64/b 
>>                         uild/test'
>>
>

  reply	other threads:[~2015-10-19 15:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-30  0:54 Remik Ziemlinski
2015-10-02  5:26 ` Marco Atzeri
2015-10-02 14:44   ` Remik Ziemlinski
2015-10-19 15:57     ` Remik Ziemlinski [this message]
2015-10-19 17:55       ` Marco Atzeri

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

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

  git send-email \
    --in-reply-to=562512D6.4010506@gmail.com \
    --to=remik.ziemlinski@gmail.com \
    --cc=cygwin-apps@cygwin.com \
    /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.
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).