147 Commits

Author SHA1 Message Date
Roberto Di Remigio
98ba4cf3b2
Remove enable_language from language modules
Notice that cxx.cmake reference, incorrectly, CMAKE_C_COMPILER instead of CMAKE_CXX_COMPILER
2017-05-18 10:27:12 +02:00
Radovan Bast
3349ddbe1d print MATH_LIB_SEARCH_ORDER; fixes #195 2017-05-15 17:01:20 +02:00
Roberto Di Remigio
d081364685
Add EXTRA_<LANG>FLAGS to CMAKE_<LANG>_FLAGS if the former are not an empty string 2017-04-06 14:52:58 +02:00
Radovan Bast
5dc60d3a3c rename --check to --profile (was copy paste error) 2017-02-14 12:01:47 +01:00
Radovan Bast
7a9736d4df add minsizerel to list of allowed build types 2017-02-04 18:37:24 +01:00
Radovan Bast
c79cbda4bd add module for profiling flags 2017-02-04 17:36:10 +01:00
Radovan Bast
88ca810194 add doc [skip ci] 2017-02-02 20:59:47 +01:00
Radovan Bast
a5d8d51880 module to generate export header
kudos to Roberto for the suggestion
2017-02-02 19:46:44 +01:00
Radovan Bast
893c9bd80c set colors to "" on WIN32 2016-11-21 20:43:54 +01:00
Roberto Di Remigio
f614025183
Better documentation 2016-11-21 19:37:37 +01:00
Roberto Di Remigio
f33a74df5a
Add a module to colorize CMake output.
Code was found on StackOverflow: http://stackoverflow.com/a/19578320
2016-11-21 19:33:58 +01:00
Radovan Bast
fe0c1f69ec generate_git_info_header always has to be called with explicit args 2016-11-18 18:25:02 +01:00
Roberto Di Remigio
310add559b
Path to git_info.h.in is no longer hardcoded 2016-11-17 19:51:17 +01:00
Roberto Di Remigio
4efb243161
Fine-tune and fix tests 2016-11-16 15:31:57 +01:00
Roberto Di Remigio
331b81bf32
Merge remote-tracking branch 'upstream/master' 2016-11-16 11:44:11 +01:00
Roberto Di Remigio
45a4a0022f
Use only Git commands in git_info 2016-11-16 11:42:06 +01:00
Radovan Bast
8ba73f5a1d set Fortran OMP flags only if OpenMP_Fortran_FLAGS are not set; fixes #177
also fix Intel Fortran OMP depending on the version of the compiler
thanks to Lori A. Burns for the changeset
2016-08-24 08:12:55 +02:00
Radovan Bast
9c9f001e57 s/yaml/master/ 2016-05-21 12:23:20 +02:00
Radovan Bast
be5d760555 add quotes 2016-05-21 01:41:02 +02:00
Radovan Bast
7a9af28fca fix BOOST_ARCHIVE_LOCATION 2016-05-21 01:32:22 +02:00
Radovan Bast
42e5192dc9 fixes in boost.cmake 2016-05-20 21:16:01 +02:00
Radovan Bast
ed4dcbb138 s/cfg/yml/ 2016-05-20 15:02:49 +02:00
Radovan Bast
a32c9d6f46 more descriptive warning 2016-05-20 00:45:35 +02:00
Radovan Bast
e2ae1fac50 Merge branch 'master' into yaml 2016-05-20 00:12:31 +02:00
Radovan Bast
5dc2bb2880 adapt url_root for fetch directives 2016-05-20 00:08:53 +02:00
Radovan Bast
d0dc52c7a9 convert boost module to yaml 2016-05-20 00:02:32 +02:00
Radovan Bast
51cdb55c53 convert more modules to yaml 2016-05-19 23:57:24 +02:00
Radovan Bast
ac03dc7998 convert math lib code to yaml 2016-05-19 23:52:48 +02:00
Radovan Bast
5b7ad87479 switch to .format() 2016-05-19 23:46:32 +02:00
Radovan Bast
0c6976a70d simplify 2016-05-19 23:39:13 +02:00
Radovan Bast
4eb5dee936 update googletest.cmake to yaml 2016-05-19 23:24:49 +02:00
Radovan Bast
d09aa22623 covert two modules to yaml 2016-05-19 23:22:28 +02:00
Radovan Bast
104f64cb1c convert ccache module to yml 2016-05-19 23:17:23 +02:00
Radovan Bast
45fc08f37b Revert "testing interpolation"
This reverts commit 91c79f9d3c7041e8906fbccaad991147e779e4e2.
2016-05-19 23:10:37 +02:00
Radovan Bast
91c79f9d3c testing interpolation 2016-05-19 23:07:31 +02:00
Radovan Bast
ebc1ecc127 convert few modules to yaml 2016-05-19 23:03:00 +02:00
Radovan Bast
24ff4c430e change to yaml format 2016-05-18 23:38:06 +02:00
Miro Iliaš
c4dcaaf0f8 Add "-ldl" for static linking
Hi Rado,

to fix dirac.x static linking ( OpenMPI+GNU+OPENBLAS ) I had to inser -ldl after -lpthread command.

Please proprage it into DIRAC repo. Thanks.
2016-05-16 20:44:45 +02:00
Radovan Bast
a772d29106 s/scisoft/coderefinery/ 2016-04-19 12:30:32 +02:00
Radovan Bast
aebb3f7e60 module for saving compiler flags to cache 2016-04-11 13:06:59 +02:00
Radovan Bast
62f9dd1b95 adapt to new dir structure within Google Test 2016-02-11 20:15:46 +01:00
Radovan Bast
d66fe341a3 more robust regex 2016-02-11 19:51:54 +01:00
Radovan Bast
cefc2112e2 make regexes less greedy 2016-02-03 21:03:28 +01:00
bast
6e5c91d04f add openblas 2016-01-23 15:53:05 +01:00
Miro Iliaš
f6063344e0 provide threaded essl library only
It's better to use threaded essl library on IBM AIX, could we have it please ?

Standard IBM AIX has both library types:
~~~
ilias@f01c10n02:~/work/qch/software/dirac/trunk/cmake/downloaded/.ar t /usr/lib/libesslsmp.a
essl.o
ilias@f01c10n02:~/work/qch/software/dirac/trunk/cmake/downloaded/.ar t /usr/lib/libessl.a
essl.o
ilias@f01c10n02:~/work/qch/software/dirac/trunk/cmake/downloaded/.
~~~
2015-12-23 08:43:26 +01:00
Radovan Bast
0c61c54b73 only strip string if not empty 2015-12-15 15:18:35 +01:00
Miro ILIAS
950652aedd thorough workaround for CMAKE_CURRENT_LIST_DIR variable
- to fix this for CMake 2.8.2
2015-11-10 09:22:26 +01:00
Roberto Di Remigio
6dd61417bb Modify CMake commands in Boost build-up scripts to use platform-independent form 2015-11-09 22:17:19 -05:00
Radovan Bast
5567198dc1 cosmetics 2015-10-30 10:24:36 +01:00
Miro Iliaš
c89e2021a7 provide workaround for undefined variable
it's CMAKE_CURRENT_LIST_DIR, see https://public.kitware.com/Bug/print_bug_page.php?bug_id=11675
2015-10-29 09:22:59 +01:00