Commit Graph

239 Commits

Author SHA1 Message Date
Shahram Najm 539c9c2b17 Separate the tests on stdin which fail on M$oft Windows 2019-12-11 12:57:16 +00:00
Shahram Najm 32fb8bd28b Add extra info during cmake step 2019-10-08 18:24:59 +01:00
Shahram Najm 2bbd770272 Python3 install: Use pip3 rather than pip 2019-08-09 16:35:59 +01:00
Willem Deconinck 43bcf59ac4 Fix compatibility with ecbuild 3.1 2019-08-02 10:04:53 +01:00
Shahram Najm 85f78478b4 Python3 messages for installation 2019-06-19 16:39:46 +01:00
Shahram Najm 97062d3a93 Exclude the python3 dir (deprecated SWIG) 2019-06-18 17:05:48 +01:00
Shahram Najm fb6e279f31 Python3 messages for installation 2019-06-12 18:38:12 +01:00
Shahram Najm 2133aa19dd ECC-815: Separate the Python bindings to a different package 2019-06-11 18:19:20 +01:00
Shahram Najm fc103215f8 Python3 support with CFFI 2019-06-11 17:15:06 +01:00
Shahram Najm 72edd846f2 Update the minimum required version of CMake 2019-05-15 17:42:37 +01:00
Shahram Najm 02e934b688 Copyright updated 2019-04-15 14:44:45 +01:00
Shahram Najm 0b1c4574bf Add option to replace TPL absolute paths with library names
This should help with relocatability: instead of generating
eccodes-config.cmake with an absolute path to Third Party Libraries
(TPLs) (e.g. /lib/x86_64-linux-gnu/libm.so.6) we have the option to use
the library name instead (e.g. -lm).

We also use library names in eccodes-targets.cmake and eccodes.pc if the option is set.

The motivation is so that we can distribute packages with conda-forge.
Without this change, the conda-forge build leaves its build path in the
files above. When we come to build another package downstream, e.g.
Magics, we are unable to find the ecCodes libraries because the absolute
paths to the TPLs are no longer valid. Using library names instead lets
cmake find the TPLs on the downstream build system.
2019-03-19 16:31:49 +00:00
Shahram Najm a3be721f1a Update URLs 2019-01-28 12:47:22 +00:00
Shahram Najm 4850c67441 Merge of Windows Port 2019-01-21 13:18:21 +00:00
Shahram Najm dd53304d69 Add info message for JPG feature 2018-11-27 17:56:46 +00:00
Shahram Najm c57d7d698c Python3: Add warning re Python3 being experimental 2018-11-26 14:19:21 +00:00
Shahram Najm 832ed60f3c Python3: Enable Python 2 to work as before 2018-11-23 19:11:47 +00:00
Shahram Najm bf86db0768 Bump up version to 2.10.0 2018-10-18 11:22:58 +01:00
Tiago Quintino 97b6c7a8b7 ECC-688: move endianess tests to eccodes 2018-05-19 17:49:38 +01:00
Tiago Quintino 9f5e09c654 ECC-688: move endianess tests to eccodes 2018-05-19 17:42:03 +01:00
Tiago Quintino 4552c72af8 ECC-688: move tests to eccodes 2018-05-19 12:38:36 +01:00
Tiago Quintino 6f4ad74fcd ECC-688: move inline test 2018-05-18 16:34:35 +01:00
Tiago Quintino f5bd10fc55 ECC-688 migrate system header and symbols tests 2018-05-11 13:07:03 +01:00
Tiago Quintino d3b43d8323 ECC-688 migrate system header and symbols tests 2018-05-11 11:31:13 +01:00
Shahram Najm b6f098eb6f Fix usage of EC_HAVE_FORTRAN 2018-02-01 16:07:40 +00:00
Shahram Najm 30b705b8da Update copyright notices: 2017 -> 2018 2018-01-02 11:31:02 +00:00
Florian Rathgeber dbead56558 ECC-542 MEMFS: drop Python version requirement 2017-09-07 14:54:34 +01:00
Florian Rathgeber 19b0682ca4 ECC-542 Enabling MEMFS only searches for Python interpreter 2017-09-07 13:17:34 +01:00
Tiago Quintino c98d9561f7 ECC-540: MEMFS by default does not trigger installation of samples and definitions 2017-09-06 11:17:33 +01:00
Tiago Quintino cffb4e03af ECC-540: MEMFS by default does not trigger installation of samples and definitions 2017-09-06 11:16:26 +01:00
Tiago Quintino 43fc1118aa ECC-540: MEMFS by default does not trigger installation of samples and definitions 2017-09-06 11:12:48 +01:00
Shahram Najm 1a8defdba4 Make ecbuild min version 2.7.2 (due to ECBUILD_INSTALL_FORTRAN_MODULES) 2017-08-04 17:13:44 +01:00
Shahram Najm 08c65b2a4d ECC-514: CMath is a library, not a source file (Also CMATH_LIBRARIES is already part of ECCODES_EXTRA_LIBRARIES) 2017-08-03 11:43:47 +01:00
Shahram Najm 03f9ccbd1b Comments/spelling etc 2017-07-21 14:00:54 +01:00
Tiago Quintino 44b3ce5de5 ECC-508: add option to skip installation of samples and definitions, to be used together with ENABLE_MEMFS 2017-07-19 17:21:22 +01:00
Tiago Quintino e01821b2d4 ECC-568: add option to skip installation of samples and definitions, to be used together with ENABLE_MEMFS 2017-07-19 17:14:19 +01:00
Shahram Najm af02246213 Cleanup 2017-03-09 15:40:48 +00:00
Shahram Najm f15d54265d Remove 'Configuration completed' message which can be misleading sometimes 2017-03-02 16:53:35 +00:00
Florian Rathgeber eece1f4211 ECC-106 Use INSTALL_DATA_DIR in default definition and samples paths
INSTALL_DATA_DIR is now used to initialise the default
* ECCODES_DEFINITION_SUFF
* ECCODES_SAMPLES_SUFF
* ECCODES_IFS_SAMPLES_SUFF
2017-02-03 13:43:28 +00:00
Shahram Najm 6338157c6d ecbuild min version is now 2.6 2017-01-24 10:55:20 +00:00
Shahram Najm cc73e100af Update copyright notices: 2016 -> 2017 2017-01-03 11:03:48 +00:00
Florian Rathgeber 0abc5a8b85 ECC-404 Use HAVE_JPEG to test for JPG feature 2016-12-22 19:32:20 +00:00
Shahram Najm 073c35418c ECC-396: Support for Jasper 2.0 2016-12-06 11:51:41 +00:00
Shahram Najm 8ba5e022a1 ECC-386: Add test (activated if -DENABLE_GRIB_TIMER=ON) 2016-12-02 18:44:44 +00:00
Shahram Najm 904c094870 Remove the outdated perl dir from tarball 2016-10-10 14:36:00 +01:00
Shahram Najm 58fa67bd5f Remove deprecated autotools directories 2016-10-07 11:00:14 +01:00
Shahram Najm 652f7514a5 Do not pull in netcdf include/libs in pkgconfig (See ECBUILD-274) 2016-10-05 13:39:05 +01:00
Shahram Najm 871a50e432 Remove unnecessary includes for netcdf and numpy from pkgconfig files 2016-09-28 09:58:43 +01:00
Shahram Najm b69797f5f2 Suppress deprecation messages 2016-09-27 14:57:02 +01:00
Shahram Najm cd98f8d91f Update the version of ecbuild needed (For Python discovery with NO_LIBS) 2016-09-22 16:52:16 +01:00
Shahram Najm c0c2b6bb4b Don't pack the settings dir 2016-08-26 10:11:04 +01:00
Shahram Najm 72f2078254 Python does not need libs. OpenJPEG fix for static libs 2016-07-29 18:03:54 +01:00
Shahram Najm 1ec64a0e54 Update final message text 2016-07-18 14:57:54 +01:00
Shahram Najm 91585fcdc2 MEMFS: Do not require Python libs, only the executable 2016-07-11 16:29:33 +01:00
Shahram Najm 1ebf5804bf ECC-280: don't build memfs for cray c compiler, it segfaults 2016-07-04 12:48:40 +01:00
Shahram Najm caaadd923a Update description of MEMFS feature 2016-06-20 18:00:09 +01:00
Baudouin Raoult 16663de49a Merge branch 'develop' into feature/memfs 2016-06-16 19:42:39 +01:00
Shahram Najm 0a43dcc70d Remove obsolete stuff 2016-06-16 10:42:37 +01:00
Baudouin Raoult 340175376b Use memfs to load definitions and templates 2016-06-14 15:27:49 +01:00
Shahram Najm ea159924dc Pkgconfig: Add HAVE_LIBOPENJPEG 2016-06-06 13:22:29 +01:00
Shahram Najm a4acc9eae4 Make minimum Python version 2.6 to enable Python3 in future 2016-06-01 16:40:20 +01:00
Shahram Najm eb6b68329b Change version number to 0.16.0 to be in sync with grib_api (1.16.0) 2016-05-23 11:30:36 +01:00
Shahram Najm 16ffcc3d24 Rename cmake option 2016-05-05 16:23:46 +01:00
Shahram Najm 3a1783f120 Add test for grib parameter concept files 2016-05-04 16:04:21 +01:00
Shahram Najm 1b9ea7d288 GRIB-976: ifs_samples files moved to install prefix 2016-04-27 15:43:49 +01:00
Shahram Najm 6c02af203b Increment version to 2.0.0 2016-04-26 16:26:06 +01:00
Shahram Najm c31b579294 use ecBuild logging macros instead of message 2016-04-14 11:10:15 +01:00
Shahram Najm 800391d0ce Add copyright notice 2016-04-13 16:12:21 +01:00
Shahram Najm 951b78dd02 GRIB-961: Fix wrong exports of variables for bundles 2016-04-07 16:51:07 +01:00
Shahram Najm 2a612f094b GRIB-948: Increment the required cmake version from 2.8.4 to 2.8.11 2016-03-16 13:33:44 +00:00
Shahram Najm cc82d59b87 CMake message on version 2016-03-01 10:27:54 +00:00
Shahram Najm f8c91a7172 Minor formatting 2016-02-19 10:18:29 +00:00
Shahram Najm 52e5fcc9c8 Write cmake info messages to stdout 2016-01-27 10:14:25 +00:00
Shahram Najm 87fc993748 OpenMP and POSIX threads: do not allow both to be specified 2016-01-07 11:31:42 +00:00
Shahram Najm 5c7761d936 ECC-204: Python bindings: make numpy a requirement (drop support for python arrays) 2016-01-07 10:54:02 +00:00
Shahram Najm 52ab4d1ba3 GRIB-884: OpenMP Support 2015-12-30 14:39:02 +00:00
Shahram Najm ce2d1ed49f ECBUILD-190: suppress deprecation messages 2015-12-17 11:11:42 +00:00
Shahram Najm b0289412c4 Remove deprecated ecbuild macro 2015-12-16 11:49:59 +00:00
Shahram Najm c5281eb0a8 Dont pack the confluence directory in tarball 2015-11-18 15:50:27 +00:00
Shahram Najm 24581f567a Update banner 2015-10-30 18:23:59 +00:00
Shahram Najm adc18b69b6 Rename the cmake macro 2015-10-21 17:31:19 +01:00
Shahram Najm 2e074dcda2 Remove unnecessary search for Python interpreter 2015-10-19 17:38:13 +01:00
Shahram Najm 4837a9f093 Update final message 2015-10-02 10:36:55 +01:00
Shahram Najm 02bcb76d8d Print final banner to notify user cmake succeeded 2015-10-02 10:03:28 +01:00
Shahram Najm 76530a0cbf GRIB-822: Make definitions/samples suffixes overridable, but not paths, Place ifs_samples in build and install root by default 2015-09-22 11:42:54 +01:00
Shahram Najm b2bea8c33b Fixes for GRIB-826 and GRIB-825 2015-09-18 11:07:02 +01:00
Shahram Najm 05bdf8761e ECBUILD-116 CMake: use ecbuild_add_c_flags 2015-09-18 10:39:20 +01:00
Shahram Najm 6a626a235d GRIB-822 Export samples and definition paths for install and build trees
With ECBUILD-105 is is possible to check for build vs. install tree
export in <package>-import.cmake scripts.
Use this to export the correct GRIB_API_DEFINITION_PATH,
GRIB_API_SAMPLES_PATH, GRIB_API_IFS_SAMPLES_PATH in
grib_api-import.cmake for dependent projects to use.
2015-08-28 14:00:17 +01:00
Shahram Najm 40b85a7996 ECBUILD-87 CMake: include ecbuild_system with no policy scope 2015-08-17 13:00:43 +01:00
Shahram Najm 76d074ea8e GRIB-804: cmake does not enable JPEG if only openjpeg is present and not jasper 2015-07-24 09:53:28 +01:00
Shahram Najm 563c480bf1 Fix for 'make rpms' needed for bamboo release builds 2015-07-14 18:05:15 +01:00
Shahram Najm 76bd03e33a CMake: fortran and examples features 2015-06-09 14:50:51 +01:00
Shahram Najm d56c384c3e ECC-100: CMake: Rename GRIB_THREADS to ECCODES_THREADS 2015-05-14 16:45:03 +01:00
Shahram Najm fce32129b2 ECC-106: CMake: overriding default install directories 2015-04-29 17:16:13 +01:00
Shahram Najm 60af889c43 Exclusions from make package_source 2015-04-01 09:50:46 +01:00
Shahram Najm b39c30fc1b Dont pack the share/eccodes dir 2015-03-30 11:46:28 +01:00
Shahram Najm f2a554fbe8 GRIB-731: CMake: check the md5 of downloaded data for tests 2015-03-11 17:33:46 +00:00
Shahram Najm a476153f94 Update ecbuild macro version because of pkgconfig 2015-03-06 17:35:59 +00:00
Shahram Najm e98966d41b ECC-72: Discontinue support for Fortran77 2015-02-27 18:21:10 +00:00
Shahram Najm a38de835c2 Rebranding: cmake config etc 2015-02-18 18:11:38 +00:00
Shahram Najm 1aeaeecef7 Rebranding from grib_api to eccodes 2015-02-18 10:14:22 +00:00
Shahram Najm f0ea1ec12f ECC-63: Change name of the library 2015-02-13 18:04:42 +00:00
Shahram Najm 936684035d Removed obsolete dirs 2015-02-10 22:53:13 +00:00
Shahram Najm 700d7c7878 GRIB-680: CMake: lib/pkgconfig not created 2015-02-05 16:57:47 +00:00
Shahram Najm 84f1a4ebe9 ECC-39: CMake build: make on sappa/sappb fail due to jasper include file 2015-02-02 17:02:15 +00:00
Shahram Najm 76b1ad64a9 GRIB-689: CMake: threads not enabled 2015-01-29 16:22:33 +00:00
Shahram Najm 8d9cd344fa GRIB-689: CMake: threads not enabled 2015-01-29 15:50:51 +00:00
Shahram Najm 56a2427158 pkgconfig fixes 2015-01-29 13:27:11 +00:00
Shahram Najm 2e1d5a33ce Added pkgconfig 2015-01-29 13:07:39 +00:00
Shahram Najm e052f403e2 Fix for CMake 3.1 2015-01-27 10:26:33 +00:00
Shahram Najm 4a097bb807 Renamed some cmake variables 2015-01-26 22:28:46 +00:00
Shahram Najm 79d12206c5 CMake: add mechanism to install ecmwf-specific tools 2015-01-25 15:31:33 +00:00
Shahram Najm 1cafbdd5aa Replace macros/makefile vars to use ECCODES prefix 2015-01-24 22:19:32 +00:00
Shahram Najm 8b0c048f41 GRIB-681: CMake Exports for IFS Samples Path 2015-01-19 10:23:02 +00:00
Shahram Najm ad4893879d Clean up 2015-01-09 15:18:52 +00:00
Shahram Najm 68b2b343dc Update descriptions of features 2014-12-16 13:55:22 +00:00
Shahram Najm 65573cdbc5 GRIB-649: in developer mode take the samples and definitions from build directory 2014-11-25 13:21:39 +00:00
Shahram Najm ed2ea91ab3 GRIB-627 and GRIB-628 2014-11-04 14:49:23 +00:00
Shahram Najm 63a6d347b7 GRIB-611: rework options to use ecbuild_add_option 2014-10-20 17:40:17 +01:00
Shahram Najm 3c6792e2c1 GRIB-579 - not having fortran does not stop you building grib_api 2014-10-03 16:49:05 +01:00
Shahram Najm 1315edbb48 GRIB-179: Data representation template 5.42 (CCSDS) 2014-08-28 10:11:51 +01:00
Shahram Najm ab084c7f20 CMake: PNG and SZIP disabled by default 2014-07-17 14:39:55 +01:00
Shahram Najm 7a1319b6c5 CMake: add dist target 2014-07-11 16:50:30 +01:00
Shahram Najm b6788c885e CMake: Creating the source archive 2014-07-11 16:31:24 +01:00
Shahram Najm e9cb722ffc Merge grib api and eccodes - part 1 2014-06-18 17:14:01 +01:00
Shahram Najm 31f0e88a45 CMake tests 2014-03-31 13:57:06 +01:00
Shahram Najm 0ac11e38fa Merge from develop branch: ecbuild macro version bump 2014-01-03 14:31:16 +00:00
Shahram Najm c57d39ef59 improved generated headers 2014-01-03 11:20:14 +00:00
Shahram Najm 78802d4661 find threads directly on the project not by ecbuild 2013-12-23 15:50:47 +00:00
Shahram Najm 9cc74db148 add relative path to ecbuild 2013-12-11 10:12:34 +00:00
Shahram Najm 20b95e6349 CMake: change to conforming options 2013-12-09 14:47:14 +00:00
Shahram Najm e45107acbb Checkin from Tiago: fixes for build system 2013-09-18 08:53:52 +01:00
Shahram Najm 8d72bcbd9f Fix for IEEE preprocessor directives [From Tiago Quintino] 2013-06-19 16:54:11 +01:00
Shahram Najm 26b9da1f65 Cmake changes from Tiago 2013-05-14 17:38:40 +01:00
Shahram Najm 119fbbeddf CMake updates from 1.10.4 2013-04-23 09:59:14 +01:00
Shahram Najm abeb369252 Cmake merge 2013-04-10 16:46:41 +01:00
Shahram Najm 7f5d1faca2 Cmake changes 2013-04-03 11:45:13 +01:00
Shahram Najm 523f3df490 Cmake changes and merges from master 2013-04-02 15:17:46 +01:00
Tiago Quintino 33b891186d Ported grib_api 1.10.4 from p4 to git 2013-03-25 12:04:10 +00:00