Commit Graph

116 Commits

Author SHA1 Message Date
Matthias Hochsteger
65afc44dcc Handle USE_NATIVE_ARCH=ON correctly on Apple M1 2020-12-17 10:26:29 +01:00
Matthias Hochsteger
916eb09f1e Merge remote-tracking branch 'origin/master' into memory_tracing 2020-11-24 15:31:00 +01:00
mhochsteger
d7a1dda042 cmake - add version info to netgen.exe on Windows 2020-11-24 11:50:24 +01:00
Christopher Lackner
a69cdc9000 mem tracing compile time option, simplify by MemoryTracer as member 2020-11-21 15:49:07 +01:00
Matthias Hochsteger
7a1344bfcb cmake variable NG_COMPILE_FLAGS to set additional compile options 2020-10-01 13:35:53 +02:00
Matthias Hochsteger
52b372718c generate netgen_config.hpp containing all cmake options 2020-09-09 11:33:06 +02:00
Matthias Hochsteger
eb75bc31a6 mpi4py support 2020-07-29 17:23:26 +02:00
Matthias Hochsteger
829ff0aa53 fix install of netgen_version.hpp 2020-07-23 17:49:10 +02:00
Matthias Hochsteger
dcc0484be0 install netgen_version.hpp, set version in Archive 2020-07-23 16:25:06 +02:00
Christopher Lackner
efbd71c8d5 define cmake export compile commands after project 2020-06-03 12:42:35 +02:00
Matthias Hochsteger
94d489e183 cmake - remove compiler definition of NETGEN_VERSION 2020-06-03 11:54:56 +02:00
Matthias Hochsteger
267e8b33fb cmake - use git to generate version string 2020-05-18 15:55:40 +02:00
Matthias Hochsteger
a52ccd7ce5 Fix build with USE_NUMA=ON 2020-03-25 10:40:12 +01:00
Matthias Hochsteger
8fd08ef4ac Download prebuilt CGNS library on MacOS 2020-03-11 21:41:38 +01:00
Matthias Hochsteger
2615b0911e Fix CGNS code for version < 3.4
Install libhdf5 on ubuntu test (cgns depends on it)
2020-03-11 17:43:36 +01:00
Matthias Hochsteger
603141cf1a Fix CGNS support on Windows 2020-03-11 14:53:08 +00:00
Matthias Hochsteger
db5ad09b79 Initial CGNS format read support 2020-03-11 13:39:40 +01:00
Matthias Hochsteger
a5ffcb73c1 Build with '-fno-stack-check' on MacOS if USE_NATIVE_ACH=ON
XCode 11.3 introduced a bug with stack alignment if AVX is activated:
https://forums.developer.apple.com/thread/121887
According to the link, '-fno-stack-check' circumvents this problem
2020-01-17 13:09:44 +01:00
Matthias Hochsteger
ce90bd9e83 [cmake] Simplify compile flag handling on Windows
Add options/define flags to ngcore, so they are automatically passed on
to dependencies
2020-01-16 16:38:06 -08:00
Matthias Hochsteger
09afc419bc [cmake] option USE_NATIVE_ARCH for Windows 2020-01-15 16:49:27 -08:00
Matthias Hochsteger
f3d9d3ad67 [cmake] Don't link python libraries in unix-conda environment
Conda links python libs statically to python executable
2019-11-26 19:26:18 +00:00
Matthias Hochsteger
8f6517ff55 Terminal.app moved on MacOS Catalina 2019-09-10 14:20:31 +02:00
Joachim Schöberl
270ed2fd42 Revert "Merge branch 'pybind11_upgrade' into 'master'"
This reverts merge request !193
2019-08-09 15:59:33 +00:00
Christopher Lackner
3b257a448a upgrade pybind11 to v2.3 2019-08-09 13:14:38 +02:00
Christopher Lackner
ac28c07efc cmake syntax change (new cmake seems to not take 1 here...) 2019-07-29 07:12:56 +02:00
Christopher Lackner
56746b7bb4 add CMAKE_EXPORT_COMPILE_COMMANDS 2019-07-19 11:13:24 +02:00
Matthias Hochsteger
5fb91f26ed User AlignedAlloc for over-aligned types
MacOS < 10.13 doesn't support new with alignment>16 bytes
2019-07-10 13:36:31 +02:00
Matthias Hochsteger
c3a7fc2aab Switch to C++17 2019-07-10 12:57:19 +02:00
Matthias Hochsteger
b848bdc237 Fix MPI build 2019-07-10 12:33:01 +02:00
Christopher Lackner
99df9c0083 auto generate stub files using pybind11_stubgen 2019-06-29 20:01:05 +02:00
Matthias Hochsteger
9a20974418 Disable SPDLOG by default 2019-01-14 13:07:10 +01:00
Matthias Hochsteger
460ee696fd [cmake] Link ngcore to other libraries 2019-01-08 13:12:24 +01:00
Christopher Lackner
5602322e94 add RangeException, NETGEN_CHECK_RANGE macro 2019-01-02 16:30:55 +01:00
Christopher Lackner
fd3474f5cb logging in ngcore 2018-12-28 13:43:15 +01:00
Christopher Lackner
60d4ef13ba fix warning as errors outside of ngcore 2018-12-10 16:20:07 +01:00
Christopher Lackner
6f808cb40f clang-tidy warnings as errors 2018-12-10 10:52:00 +01:00
Christopher Lackner
17aba88117 [ngcore] follow cpp guidelines, check them with clang-tidy 2018-12-08 16:10:29 +01:00
Matthias Hochsteger
2ec3bb0df1 C++ 14 for Archiver 2018-12-03 18:07:52 +01:00
Christopher Lackner
8e29d38fc1 archive works for pointers and shared_ptrs (even with
mult. inheritance and virtual base classes)
2018-12-03 16:28:04 +01:00
Christopher Lackner
7bfc48e8f3 start ngcore, archive in there 2018-11-29 18:35:30 +01:00
Matthias Hochsteger
9d361a354a Revert "[cmake] Use relative paths for dependencies inside install dir"
This reverts commit f098532aa1.
2018-07-02 12:25:18 +02:00
Matthias Hochsteger
f098532aa1 [cmake] Use relative paths for dependencies inside install dir 2018-07-02 03:15:13 -07:00
Matthias Hochsteger
90dee5fde4 Define PACKAGE_VERSION in mydefs.hpp
Change "PACKAGE_VERSION" to "NETGEN_VERSION" in NetgenConfig.cmake
2018-02-02 11:22:08 +01:00
Matthias Hochsteger
0257f416b2 [cmake] Search pybind11 if USE_SUPERBUILD=OFF
Also don't install the pybind headers without superbuild
2018-01-25 14:01:57 +01:00
Matthias Hochsteger
e0fe171516 Use CMAKE_CXX_STANDARD to require c++14, depend on CMake 3.1.3 2018-01-23 03:05:02 -08:00
Matthias Hochsteger
b1cb2883e7 [cmake] Fix default install dir for Python modules 2017-11-13 13:48:22 +01:00
luzpaz
cea3f3e2b9 Misc. typo fixes 2017-07-25 23:29:41 -04:00
Matthias Hochsteger
3082f82498 Fix configure errors with USE_PYTHON=OFF 2017-07-20 11:18:34 +02:00
Matthias Hochsteger
86f8ed88e0 CMake: hopefully the last fix 2017-06-08 16:05:12 +02:00
Matthias Hochsteger
22874f8bf5 CMake: fix install components 2017-06-08 15:15:20 +02:00