From 79b6b51285bafc4a9bd3d3920f8c2165409cc1b4 Mon Sep 17 00:00:00 2001 From: Easy Build Date: Sun, 16 Apr 2017 20:33:22 +0200 Subject: [PATCH] new file: l/LIBSVM/LIBSVM-3.22-intel-2017a.eb --- l/LIBSVM/LIBSVM-3.22-intel-2017a.eb | 31 +++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 l/LIBSVM/LIBSVM-3.22-intel-2017a.eb diff --git a/l/LIBSVM/LIBSVM-3.22-intel-2017a.eb b/l/LIBSVM/LIBSVM-3.22-intel-2017a.eb new file mode 100644 index 00000000..051e2f4f --- /dev/null +++ b/l/LIBSVM/LIBSVM-3.22-intel-2017a.eb @@ -0,0 +1,31 @@ +easyblock = 'MakeCp' + +name = 'LIBSVM' +version = '3.22' + +homepage = 'http://www.csie.ntu.edu.tw/~cjlin/libsvm/' +description = """LIBSVM is an integrated software for support vector classification, (C-SVC, nu-SVC), regression + (epsilon-SVR, nu-SVR) and distribution estimation (one-class SVM). It supports multi-class classification.""" + +toolchain = {'name': 'intel', 'version': '2017a'} + +source_urls = [homepage] +sources = [SOURCELOWER_TAR_GZ] + +dependencies = [('Qt', '4.8.6', '', True)] + +buildopts = ' && cd svm-toy/qt && make MOC=$EBROOTQT/bin/moc ' +buildopts += 'CFLAGS="$CFLAGS -I$EBROOTQT/include -I$EBROOTQT/include/QtGui -lQtGui -lQtCore" && cd -' + +files_to_copy = [(['svm-*'], 'bin'), 'tools'] + +sanity_check_paths = { + 'files': ['bin/svm-%s' % x for x in ['predict', 'scale', 'train']] + ['bin/svm-toy/qt/svm-toy'], + 'dirs': ['bin/svm-toy', 'tools'], +} + +modextrapaths = { + 'PATH': ['bin', 'bin/svm-toy/qt'], +} + +moduleclass = 'lib'