Commit Graph

43 Commits (29934c5b9f0237a5a80b67ce294041aa3c6c9494)

Author SHA1 Message Date
Ryan Carsten Schmidt 29934c5b9f
Don't treat hdf5 libs as if they were dirs
This causes nonsensical -L and -Wl,-rpath arguments to be added which
causes warnings to be printed by the linker.

HDF5_LIBRARIES are already being used in TARGET_LINK_LIBRARIES later so
the libraries are already being linked to correctly.

The bug was introduced in 23518278e8.
2024-07-30 12:23:52 -05:00
Thorsten Liebig 5f36e7f3a2 version 0.0.36
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2023-10-22 16:25:51 +02:00
Yifeng Li 782a7381bf CMakeLists.txt: append instead of overwrite CMAKE_CXX_FLAGS
Currently, on ARM and PPC, CMakeLists.txt uses:

    set(CMAKE_CXX_FLAGS "-DNO_WARN_X86_INTRINSICS -DSSE_CORRECT_DENORMALS")

but this overwrites the default value of CMAKE_CXX_FLAGS from CMake,
including user-specified CXXFLAGS via environmental variable, making
it impossible to change CXXFLAGS.

This patch appends instead of overwrite CMAKE_CXX_FLAGS via:

    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DNO_WARN_X86_INTRINSICS -DSSE_CORRECT_DENORMALS")

Signed-off-by: Yifeng Li <tomli@tomli.me>
2023-05-17 19:01:06 +02:00
Thorsten Liebig 55068629b0 cmake: drop support for vtk<=5
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2023-01-06 20:05:13 +01:00
aWZHY0yQH81uOYvH 3162c487d9 detect `arm64` under macOS 2023-01-06 00:38:53 -08:00
Stefan Biereigel 0b43416651 add aarch64 build support 2022-12-11 11:30:33 +01:00
pkubaj 2215eba9ef Fix build on FreeBSD/powerpc64*
FreeBSD uses powerpc64 and powerpc64le names for 64-bit POWER.
2022-12-11 11:29:48 +01:00
Thorsten Liebig 566962c516 cmake: static link hdf5
maybe only windows?

Signed-off-by: Thorsten Liebig <liebig@imst.de>
2021-07-08 15:15:55 +02:00
Stefan Biereigel 06aa959f29 fix boost library path variable 2021-04-11 12:23:34 +02:00
Thorsten Liebig bb235b242b cmake: policy 0074 should be set in localConfig.cmake if necessary
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2020-01-04 17:07:06 +01:00
Thorsten Liebig e7475a3bd1 python+MSVC: reorganize headers to reduce req. includes
Signed-off-by: Thorsten Liebig <liebig@imst.de>
2019-12-30 20:04:22 +01:00
Thorsten Liebig fbfccc4110 adaptations for win32 with MSVC
* missing __declspec import/export for openEMS.dll/nf2ff.dll creation
* SEE2 needs __m128 and operators (see tools/array_ops.h)
* array creation needs new/delete for compile time unknown sizes
* no gettimeofday and Winsock2 instead of sys/time
* missing math defines

Signed-off-by: Thorsten Liebig <liebig@imst.de>
2019-12-30 17:12:51 +01:00
Timothy Pearson ffcf5ee0a6 Enable support for POWER systems (ppc64)
Built and tested on Raptor Computing Systems Blackbird system with IBM POWER9, running Debian 10 with VTK 6, Qt 5, and Octave.
2019-09-07 15:30:45 -05:00
Thorsten Liebig b37cb008b0 cmake: require vtk >= 6.1, win+linux
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2018-12-26 21:28:32 +01:00
Thorsten Liebig a9edb66a83 version v0.0.35
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2017-02-18 15:14:30 +01:00
Thorsten Liebig a2c2ec2ff5 cmake: hdf5 support fixes
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-12-13 19:09:13 +01:00
Thorsten Liebig 9f3d5f0da2 cmake: fix hdf5 variables
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>

# Conflicts:
#	CMakeLists.txt
2016-11-15 20:13:05 +01:00
Thorsten Liebig 23518278e8 build: fix hdf5 libraries for newer cmake
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-10-05 20:25:26 +02:00
georgmichel 6a7db1917a clean up HDF5 interface for v1.8+, hdf5readatt_octave.cc still needs to be done but has to wait for upstream Octave fix 2016-08-26 10:06:24 +00:00
Thorsten Liebig 4adf0842c0 cmake: install header required to use openEMS library
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-08-18 10:28:06 +02:00
Thorsten Liebig 0ea4290f8d version v0.0.34
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-05-12 21:22:55 +02:00
Dmitry Roshchin a3c38dd617 Fix linking with VTK 7 2016-03-21 11:37:45 +03:00
Thorsten Liebig ba72767613 cmake: fix MPI compiler use
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-01-31 13:31:52 +01:00
Thorsten Liebig d75069cfef MPI: update for MPI usage
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-01-27 18:37:07 +01:00
Thorsten Liebig 8ff7ed4075 split openEMS into libopenEMS and openEMS binary
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2015-12-19 15:01:56 +01:00
Thorsten Liebig 93c878b28f build: improve vtk6 support and remove qmake build system
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2015-11-13 21:43:00 +01:00
Thorsten Liebig 445ac7ea39 version v0.0.33
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2015-10-10 14:19:20 +02:00
Thorsten Liebig 189b560e1d cmake: improve hdf5 find
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2015-09-29 19:56:27 +02:00
Thorsten Liebig 03dcf7e967 cmake: add lib suffix
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2015-09-25 20:27:52 +02:00
Thorsten Liebig 636d405ebe version v0.0.33-rc2
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2015-09-02 18:03:22 +02:00
Thorsten Liebig f35c9d393d version v0.0.33-rc1
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2015-08-05 21:23:31 +02:00
Thorsten Liebig a929aa0c25 improve cmake build
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2015-05-22 21:04:47 +02:00
Thorsten Liebig 29ffbb66ab cmake: improve build system and support win32
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2015-05-19 22:13:28 +02:00
Thorsten Liebig 0a74792424 build system: improve cmake for vtk5/qt4 or vtk6/qt5
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2015-05-05 22:05:25 +02:00
Thorsten Liebig f3533ed630 build system: improve hdf5 link & includes
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2015-05-04 20:01:23 +02:00
Thorsten Liebig 0a277ce6f4 cmake: fix permissions on openEMS.sh
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2015-03-04 22:44:07 +01:00
Thorsten Liebig dae788a2a4 cmake: cleanup, build type for nf2ff
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2014-10-09 21:06:36 +02:00
Thorsten Liebig c124255a8a cmake: add build types
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2014-10-06 21:23:36 +02:00
Thorsten Liebig 8b687f541c cmake: fix missing symbols in fparser
- everything dependent needs to be linked first

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2014-09-24 19:51:11 +02:00
Thorsten Liebig 2bf6841b03 cmake: improve RPATH handling
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2014-09-21 22:44:51 +02:00
Thorsten Liebig 4a89e3932d cmake: more options & update gitignore
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2014-09-21 20:19:21 +02:00
Thorsten Liebig f1ea7cf1af fix cmake and update gitignore
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2014-09-18 22:54:19 +02:00
Guilherme Brondani Torri 480e6c430f add CMake to openEMS 2014-09-18 21:12:50 +02:00