Miro Iliaš
Miro Iliaš
Well, after searching I found in https://github.com/dmlc/mxnet/issues/1442#issuecomment-182171637 that -lcblas has to be switched -lsatlas ... This means change of cblas.cmake, right Rado ?
I have this package installed: ~~~ [email protected]:~/work/software/theoretical_chemistry/autocmake/.pip3 install pyyaml Requirement already satisfied: pyyaml in /usr/lib/python3/dist-packages (3.13) ~~~
Hi Rado, ~~~ def save_setup_command(argv, build_path) ~~~ is very useful function, because ordinary software users sometimes forget what exact form of setup command did they use. For example, in DIRAC...
Well, somehow I can not restore git_info.h generation in mathlibs_tester ....
such composed CMakeFiles... does not have target git_info ... ~~~ # project name project(myproject Fortran C CXX) # do not rebuild if rules (compiler flags) change set(CMAKE_SKIP_RULE_DEPENDENCY TRUE) # if...
hmm, https://travis-ci.org/miroi/mathlibs-tester/builds/306400814#L758
strange ... although include(autocmake_git_info) is included, it behaves as it does not exist ...
Found the problem, one has to include generate_git_info_header(${PROJECT_BINARY_DIR} git_info.h). Also documentation is fine, so closing this ticket.
Hi, please extend https://autocmake.readthedocs.io/en/latest/module-reference.html#git-info-cmake to mention the *generate_git_info_header(${PROJECT_BINARY_DIR} git_info.h)* macro. This has to be in user's custom cmake in order to generate the desired git_info.h file.
Well, to generalize this issue: if there are other cmake files defining some important macros, this has to be mentioned in the documentation. Otherwise use forgets to use the macro,...