Olivier Parcollet
fcfcce8d61
Cmake. Fix #97 and #89
...
- C++14 mode not automatic. Was based on compiler version,
but the version of the C++ lib also matters....
Now, there is an explicit USE_CPP14 option [default =OFF]
to set to compile in c++1y mode.
Solve also #89 , i.e. the flags is now in TRIQS_CXX_DEFINITIONS and
therefore pass to applications (including ipython magic).
- Python_use_mpi4py is now ON by default.
Rational : it has been used for a while by e.g. Thomas,
and it is necessary on OS X (boost.mpi.python raises a lot of issues).
Hence we put it as default.
- Rename the option Build_Triqs_General_Tools_Test to a simpler
Build_Tests
2014-07-02 21:44:51 +02:00
Olivier Parcollet
aa126e178b
update for xcode 5.1.1
...
- clang 3.4 on default Os X.
- automatically in C++14 mode.
- a little fix in clef (var >> ...) because of an apparent bug in auto
detection in clang.
2014-06-11 16:23:48 +02:00
Olivier Parcollet
35a15f0f35
Remove default c++14 flags on clang 3.4 ...
...
- a flag left by mistake after checking portability on C++1y...
2014-01-28 20:59:05 +01:00
Olivier Parcollet
eec9a0662a
continued : further correction on mac
...
The issue was the detection of clang version on mac,
depends if packaged by Apple or not...
2014-01-09 19:42:01 +01:00
Olivier Parcollet
8f7180660f
Put back the check of compiler version commented for unknown reasons...
...
Probably a mistake ....
2014-01-09 19:27:55 +01:00
Olivier Parcollet
0b166461ef
Add C++14 detection and flags
...
- if compiler detected, compile in c++1y mode.
- override with -Dcompiler_is_c14=ON if not detected.
- compilation in c++1y on clang 3.4 ok on OS X
2013-12-10 11:54:31 +01:00
Olivier Parcollet
e703b1e2b7
port to clang 3.4
...
- little narrowing details
2013-11-18 23:41:32 +01:00
Olivier Parcollet
1517cdaaeb
clean the TRIQS_COMPILER macros
...
- from now on, C++11 compilers only.
- no ressources to maintain old stuff.
2013-10-21 15:12:08 +02:00
Olivier Parcollet
800aea4c5e
remove workaround for icc 13.0
...
- deprecated....
- remove the TRIQS_WORKAROUND_INTEL_COMPILER_BUGS macro
2013-10-17 00:32:09 +02:00
Olivier Parcollet
f04b0b1058
cmake : fix a detail in __init__ generation
...
should use .python/__init_... to create the file.
not python, otherwise when compiling application
*in source* (like brew does) this is a mess...
2013-09-02 21:25:43 +02:00
Olivier Parcollet
9290e640fd
icc : workaround macro was not set in the config.h
...
- forgot to declare one cmake var.
- test can now be not compiled (Build_Triqs_General_Tools_Test had no
effect)
2013-07-25 23:08:44 +02:00
Michel Ferrero
505839b339
Fix a misplaced NOT in FindCompilerCheck.cmake
...
modified: cmake/FindCompilerCheck.cmake
2013-07-24 14:34:41 +02:00
Olivier Parcollet
aa2c52cb01
utility : tuple, complex_ops
...
- add _j notation on C++11 compliant compilers
- correct tuple fold (was working in reverse)
- add construction of mini_vector from tuple
2013-07-19 13:27:03 +02:00
Olivier Parcollet
f2c7d449cc
First commit : triqs libs version 1.0 alpha1
...
for earlier commits, see TRIQS0.x repository.
2013-07-17 19:24:07 +02:00