Commit Graph
12 Commits
Author SHA1 Message Date
Omar Shrit 356b3ad451 Move the check for word size into CreateArmaConfigInfo
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-06-23 22:27:32 +02:00
Omar Shrit 0f2186450a Bring back the check for system word size
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-06-22 13:49:07 +02:00
Omar Shrit f3453e5c5f Au revoir armadillo 5
Since we no longer support armadillo 5 and all major machines are 64bit, we will
stop testing for 32bit unless we are cross compiling. Note that, I am not sure
that modifying this header file is the way to go, since we will never
compile Armadillo.

Signed-off-by: Omar Shrit <shrit@lri.fr>
2020-06-20 17:04:22 +02:00
Ryan Curtin 639dad05a1 Warn differences in OpenMP settings.
If the user is compiling their application with OpenMP but mlpack was not
compiled with OpenMP (or vice versa) we issue a warning.  This situation can
cause disaster with recent versions of Armadillo.
2018-04-26 14:16:33 -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
Falit 55a515b1a2 Removed trailing underscores in header guards. Resolved issue #533 2016-03-02 12:05:50 +05:30
The Ranger de42a6aaa6 Use CMAKE_CURRENT_SOURCE_DIR during files generation. 2016-01-30 18:43:10 +02: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 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 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