From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpout2.vodafonemail.de (smtpout2.vodafonemail.de [145.253.239.133]) by sourceware.org (Postfix) with ESMTPS id 9D52F385800F for ; Sun, 11 Apr 2021 18:01:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 9D52F385800F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=nexgo.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=Stromeko@nexgo.de Received: from smtp.vodafone.de (smtpa07.fra-mediabeam.com [10.2.0.38]) by smtpout2.vodafonemail.de (Postfix) with ESMTP id 334681213D0 for ; Sun, 11 Apr 2021 20:01:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexgo.de; s=vfde-smtpout-mb-15sep; t=1618164067; bh=w3VdYercKcM+RG7Gs0Fnkhdh9pwVQvWZQCofwnsQWKw=; h=From:To:Subject:References:Date:In-Reply-To; b=hXP71pk52BHxIDhktv2Q/qppSKgL0GCzMS63ZM1CiNg6ZpZhiSf+QAfKPKb/sq1UM oIV96b4kF6PTiryAmlF0vkXCCywwXuqCDPETlZafvfHO1p89CP8nSxlsV77y0yPP2U 7A+Qm3SXR0PgKqw+ixYLIRnaapsNAKxWDlHGg3qM= Received: from Gertrud (p57b9d8ab.dip0.t-ipconnect.de [87.185.216.171]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id E66E214025B for ; Sun, 11 Apr 2021 18:01:04 +0000 (UTC) From: Achim Gratz To: cygwin-apps@cygwin.com Subject: Re: eccodes References: <1777022414.443732.1618159734064.ref@mail.yahoo.com> <1777022414.443732.1618159734064@mail.yahoo.com> Date: Sun, 11 Apr 2021 20:01:00 +0200 In-Reply-To: <1777022414.443732.1618159734064@mail.yahoo.com> (brendan detracey via Cygwin-apps's message of "Sun, 11 Apr 2021 16:48:54 +0000 (UTC)") Message-ID: <87lf9oya3n.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-purgate-type: clean X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate: clean X-purgate-size: 3591 X-purgate-ID: 155817::1618164065-000064E5-40F1512E/0/0 X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_ASCII_DIVIDERS, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin-apps@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin package maintainer discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Apr 2021 18:01:11 -0000 brendan detracey via Cygwin-apps writes: > eccodes builds out of the box, more or less. However, all tests fail > because the cyg*.dll's weren't copied to ${B}/bin. (They were handled > properly when built without cygport i.e. copied from src and fortran > subdirs of the build dir.) Hard to say without a log why that happens, but you should start with checking whether the copy is even attempted. > Finally, is there template for passing the number of processors minus > 1 to cygport for all compiling and testing? If so, will cygport pass > it automatically through cygcmake to its makefile generator and to > cygtest? It would be nice to speed up my compile. Cygport will by default set MAKEOPTS to "-jN ", with N=3D1+nproc. I am not sure that will automatically be used by cmake. > eccodes.cygport----------------------------------------------------------= ------------------------- > inherit cmake Whatever you are using to send your mails is mangling text pretty badly. > shopt -s extglob > # WARNING: source download link has to be hard-coded :( You can use the variables that are defined, but I guess you meant the stupid attachment ID from Confluence (no, putting source code into a Wiki is not a goos idea for many other reasons). > # The eccodes cmake default install location is usr/local If you package it officially that needs to change, /usr/local is off-limits for packages. > NAME=3D"eccodes" > VERSION=3D2.21.0 > RELEASE=3D1 > CATEGORY=3D"Science" > SUMMARY=3D"ECMWF tools to decode and encode WMO GRIB and BUFR file > formats, and decode WMO GTS file format" > DESCRIPTION=3D"ecCodes is a package developed by ECMWF which provides an = API and a set of tools\=C2=A0for decoding and encoding messages in the foll= owing formats\:\=C2=A0WMO FM-92 GRIB edition 1 and edition 2\=C2=A0WMO FM-9= 4 BUFR edition 3 and edition 4\=C2=A0=C2=A0WMO GTS abbreviated header (only= decoding)" > HOMEPAGE=3D"https://confluence.ecmwf.int/display/ECC/ecCodes+Home"SRC_URI= =3D"https://confluence.ecmwf.int/download/attachments/45757960/eccodes-2.21= .0-Source.tar.gz" > SRC_DIR=3D"${PN}-${PV}-Source" ${PN}-${PV} =3D=3D ${P} > PKG_NAMES=3D"eccodes libeccodes libeccodes-devel" > eccodes_CONTENTS=3D"=C2=A0 usr/local/bin/!(cyg*dll)=C2=A0 usr/local/share" > libeccodes_CATEGORY=3D"Libs" > libeccodes_SUMMARY=3D"${SUMMARY} (runtime)" > libeccodes_CONTENTS=3D"=C2=A0 usr/local/bin/cyg*dll" > libeccodes_devel_CATEGORY=3D"Libs" > libeccodes_devel_SUMMARY=3D"${SUMMARY} (development)" > libeccodes_devel_CONTENTS=3D"=C2=A0 usr/local/lib/=C2=A0 usr/local/includ= e" > RESTRICT=3D"diff" > KEEP_LA_FILES=3D"none" > # curl is required to download full test data set from ECMWF. Will > this behave under CI? You should download that data set via SRC_URI instead so it is already available when needed, unless it is too large to get packaged, > BUILD_REQUIRES=3D"curl gfortran libnetcdf-devel libopenjpeg-devel libpng-= devel libaec-devel libgomp1" > CYGCMAKE_GENERATOR=3D"Unix Makefiles" > CYGCMAKE_ARGS=3D"=C2=A0 =C2=A0 -DDISABLE_OS_CHECK=3DON -DCMAKE_BUILD_TYPE= =3DRelWithDebInfo -DIEEE_LE=3D1=C2=A0 =C2=A0 -DENABLE_NETCDF=3DON -DENABLE_= JPG_LIBOPENJPEG=3DON -DENABLE_PNG=3DON -DENABLE_AEC=3DON -DENABLE_FORTRAN= =3DON -DENABLE_ECCODES_OMP_THREADS=3DON -DENABLE_MEMFS=3DOFF -DENABLE_EXTRA= _TESTS=3DON" Regards, Achim. --=20 +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Terratec KOMPLEXER: http://Synth.Stromeko.net/Downloads.html#KomplexerWaves