Commit Graph
85 Commits
Author SHA1 Message Date
Ryan Curtin 80f4791c79 Better handling of find_package_handle_standard_args(). 2017-04-07 15:56:30 -04:00
Ryan Curtin 718c9560ad Refactor Python dependency finding. 2017-02-23 11:15:59 -05:00
Ryan Curtin 3a3a2f27da Only generate man pages for mlpack_* programs. 2017-02-21 17:05:34 -05:00
Ryan Curtin 65d050ec63 Merge branch 'master' into bindings 2017-02-21 15:40:05 -05:00
Ryan Curtin 03759a5008 Set up CMake infrastructure for generating Python bindings. 2017-01-24 15:28:18 -05:00
Ryan Curtin cfb86996cc Remove unnecessary local variables. 2016-11-11 17:56:12 -05:00
Ryan Curtin dee2c82984 This is no longer necessary. 2016-10-05 10:25:31 -04:00
Ryan Curtin 7b1c09a2c0 Properly handle when the build directory has spaces in its name. 2016-09-16 18:28:09 -04:00
Ryan Curtin 8d6d3919fa Merge pull request #782 from rcurtin/pkgconfig
pkg-config support
2016-09-16 14:28:51 -04:00
sumedhghaisas bd8a287de9 Used max_cov_count in removing negative line counts in coverage 2016-09-16 05:53:11 +05:30
sumedhghaisas ff2325a2ed Coverage script is modified to remove negative entries. 2016-09-14 03:33:12 +05:30
Ryan Curtin 3f13053aae Merge branch 'master' into pkgconfig 2016-09-13 11:24:04 -04:00
Ryan Curtin 31eb9b0564 Add pkg-config support. 2016-09-13 10:52:49 -04:00
Mikhail Lozhnikov 459242594a Merge remote-tracking branch 'lozhnikov/master' 2016-08-30 20:42:35 +03:00
Mikhail Lozhnikov 69947df772 Added MathJax for HTML Doxygen output. 2016-08-30 16:11:39 +03:00
Mikhail Lozhnikov 26803dca1f Fixed pixelated formulas in the HTML output. 2016-08-29 20:57:59 +03:00
sumedhghaisas f5577922d4 Adding option to set the root in coverage script. 2016-08-26 15:03:45 +05:30
Ryan Curtin 4c88348ddc Fix some comments, clean up how -lm is added too. 2016-07-21 13:57:47 -04:00
sumedhghaisas 8cc01d5c7f Added libsupc++ library to linker while building with coverage 2016-07-21 00:46:44 +05:30
sumedhghaisas ff02cb5008 Added test coverage framework
* Added mlpack_coverage script to generate report by running tests
    * mlpack_coverage script can upload the results to coveralls
2016-07-11 13:38:40 -07:00
Ryan Curtin c0d0563bc6 Add a few more required C++11 features. 2016-06-05 15:49:38 -04:00
Ryan Curtin 20f8bc08af Use target_compile_features() on newer CMake versions. 2016-06-05 15:07:43 -04:00
Ryan Curtin 935e76dd53 Only VS2015 is able to build mlpack anymore. 2016-06-05 15:07:43 -04:00
Ryan Curtin c9c17127f9 Merge branch 'master' of https://github.com/Falit/mlpack into Falit-master 2016-04-14 11:31:51 -04:00
Alexander Leinoff 2330419b86 Removes CMake block termination arguments
Previously CMake block termination commands were required to have arguments
matching the command starting the block. This is no longer necessary and not
the preferred style. This type of change has been implemented in other open
source projects such as: ITK, vxl, and BRAINSTools. It is the preferred style
for KDE. Consistent style practices help improve readability and
maintainability of code.

This was implemented with the shell script:
NOTE: MUST USE GNU compliant version of sed
in else endif endforeach endfunction endmacro endwhile; do
        echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/'
    done >convert.sed \
    && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' \
       | xargs -0 gsed -i -f convert.sed \
    && rm convert.sed

This is a reimplementation of ITK commit
e52dbe7fa476f6283c9b9d1507fca052355113a4

Fixes #585
2016-03-21 17:23:25 -05:00
Alexander Leinoff 3f3d018ea4 Converts CMake commands to lower case
CMake commands are sometimes given in upper and lower case.
Previously uppercase commands had been required but now commands are
case-insensitive and lowercase commands are preferred. Conversion to lowercase
commands have been implemented in other open source projects such as ITK vxl
and BRAINSTools, and is the preferred style for KDE. Consistent style
practices help to improve readability and maintainability of code.

This was implemented with the shell script:
NOTE: MUST USE GNU compliant version of sed
    cmake --help-command-list \
    | grep -v "cmake version" \
    | while read c; do
        echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g'
      done >convert.sed \
    && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' \
       | xargs -0 gsed -i -f convert.sed \
    && rm convert.sed

This is a reimplementation of ITK commit
896f6b9220255bed1b3a1409af5257146b54e261
STYLE: Convert CMake-language commands lower case

Fixes #538
2016-03-21 13:44:09 -05:00
Falit 55a515b1a2 Removed trailing underscores in header guards. Resolved issue #533 2016-03-02 12:05:50 +05:30
Grzegorz Krajewski bce8a34741 Delete old backtrace depend. 2016-02-25 16:33:22 +01:00
krajekg@gmail.com e671aa8479 Add mlpack::backtrace for Ubuntu (C++, Clang). 2016-02-24 21:22:10 +01:00
theSundayProgrammer 1a0234fd8a use MSVC14 2016-02-09 07:48:25 +11:00
Ryan Curtin 0c62700893 Preferentially find ATLAS libraries. 2016-02-04 15:59:06 -05:00
The Ranger de42a6aaa6 Use CMAKE_CURRENT_SOURCE_DIR during files generation. 2016-01-30 18:43:10 +02:00
Ryan Curtin a7a05d8fe4 Fix typo: we should be checking HAVE_LAPACK not LAPACK_FOUND.
LAPACK_FOUND is only set if MKL/ACML/etc. isn't found, but HAVE_LAPACK is set in
both situations.
2016-01-27 07:34:58 -08:00
Ryan Curtin cec4ac4275 Issue an error if config.hpp is not found. 2015-12-09 11:41:10 -05:00
Ryan Curtin 5be6093c2e Don't set MLPACK_USE_64BIT_WORD when on a 32-bit system. 2015-10-02 21:08:53 +00:00
Ryan Curtin 3f01d812e9 Compress if statement. 2015-08-06 20:25:51 -04:00
Ryan Curtin 36324dc2dc Update Doxyfile generation and list of trees. 2015-08-03 13:03:27 -04:00
ryan 15c86b8616 Allow the Intel compiler too... not that it works.
"internal error: null pointer"
2015-06-24 16:59:48 -04:00
Ryan Curtin 861ac83cea Fix warning. 2015-04-15 15:02:48 -04:00
ryan f602725d42 Don't overwrite arma_config.hpp unless needed.
This should keep the build from being a complete rebuild every time 'make' is typed.
2015-04-05 18:48:09 -04:00
Ryan Curtin 06b6a04993 What? What is this file? Why is it here?
This looks like it dates back to 2009 or earlier.
2015-04-02 13:59:15 -04:00
ryan 60010cad2a When compiling, see if ARMA_64BIT_WORD is enabled.
Store it in a file.  This will tell the user (or us, the bug receivers) later if libmlpack.so has 32-bit uword or 64-bit uword.
2015-04-01 18:57:10 -04:00
Marcus Edel 870007c6af Minor cleanup (svn -> git transition). 2015-03-25 21:37:08 +01:00
Marcus Edel aaa17fc7f5 Avoid generation of the backtrace.hpp entirely. 2015-03-25 21:14:27 +01:00
Ryan Curtin 15c5546655 Refactor CMake to get version info from git.
Instead of subversion.  This has been a long time coming...
2015-03-24 22:31:31 -04:00
Ryan Curtin bff92b7fcb Don't include inside the mlpack namespace.
A downstream user may try to re-include execinfo and get very confused when it silently fails.
2015-03-24 18:26:19 -04:00
Marcus Edel 2adbba4c04 Using backtrace() become somewhat tricky when going multi-platform. Use CMake to figure out the correct header and library. 2015-03-22 20:51:50 +01:00
Marcus Edel 1588ab09a9 FindPackageHandleStandardArgs.cmake ships with CMake from version 2.8 onwards, since we require CMake 2.8.5 delete the outdated copy. 2015-03-22 20:51:50 +01:00
Ryan Curtin 7250d23298 Better handling of Armadillo configuration files, since ARMA_USE_HDF5 may appear
twice incorrectly (reported by Giampaolo).
2014-12-10 21:44:19 +00:00
Ryan Curtin 230bd4fa69 Better handling of the weird case when includes are needed but the library isn't. 2014-11-14 16:44:40 +00:00