Mentions légales du service

Skip to content
Snippets Groups Projects
Commit c64d0c1a authored by Nicolas Bellot's avatar Nicolas Bellot Committed by hhakim
Browse files

Eigen use only Mozilla Public License

parent bb00582d
No related branches found
No related tags found
No related merge requests found
......@@ -4,20 +4,7 @@ file(GLOB CPP_FILES "*.cpp" "${FAUST_ALGORITHM_CONSTRAINT_SRC_DIR}/*.cpp" "${FAU
file(GLOB HPP_FILES "${FAUST_ALGORITHM_CONSTRAINT_SRC_DIR}/*.hpp" "${FAUST_LINEAR_OPERATOR_CPU_SRC_DIR}/*.hpp")
#if(UNIX AND FAUST_USE_MKL)
# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fopenmp")
#elseif(WIN32 AND FAUST_USE_MKL)
# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /openmp")
#endif()
#message(STATUS "CMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS}")
#add_definitions(-DEIGEN_MPL2_ONLY)
#if(BUILD_OPENBLAS)
# include_directories( ${OPENBLAS_INC_DIR})
#endif()
#target_link_libraries(${FAUST_FAUSTCORE_TARGET} ${FAUST_MATRIX_TARGET} ${FAUST_EXCEPTION_TARGET} )
#include_directories(${FAUST_MATRIX_SRC_DIR} ${FAUST_PALM4MSA_SRC_DIR} ${FAUST_EXCEPTION_SRC_DIR} ${FAUST_EIGEN_SRC_DIR})
include_directories(${FAUST_SRC_LINEAR_OPERATOR_DIR} ${FAUST_LINEAR_OPERATOR_CPU_SRC_DIR} ${FAUST_ALGORITHM_CONSTRAINT_SRC_DIR} ${FAUST_ALGORITHM_FACTORIZATION_SRC_DIR} ${EIGEN_INC_DIR})
if(BUILD_OPENBLAS)
......
......@@ -48,7 +48,7 @@
#include <iostream>
#include <iomanip>
#include <fstream>
#include <Eigen/Sparse>
#include <Eigen/SparseCore>
#include "faust_exception.h"
#include "faust_constant.h"
......
......@@ -42,7 +42,7 @@
#include "faust_constant.h"
#include "faust_MatDense.h"
#include <Eigen/Sparse>
#include <Eigen/SparseCore>
#include <Eigen/Dense>
#include <vector>
#include "faust_MatGeneric.h"
......
......@@ -45,7 +45,7 @@
#include "faust_MatDense.h"
#include "faust_Vect.h"
#include <Eigen/QR>
#include <Eigen/Sparse>
#include <Eigen/SparseCore>
#include <Eigen/SparseQR>
#include "faust_MatSparse.h"
......
......@@ -45,7 +45,7 @@
#include "faust_MatDense_gpu.h"
#include "faust_Vect_gpu.h"
#include <Eigen/QR>
#include <Eigen/Sparse>
#include <Eigen/SparseCore>
#include <Eigen/SparseQR>
#include "faust_MatSparse_gpu.h"
......
......@@ -79,6 +79,8 @@ typedef long int faust_int;
const double FAUST_PRECISION = 0.0001;
const faust_unsigned_int nbr_iter_norm = 100;
// Use Eigen library only under Mozilla Public License 2.0 (MPL 2.0) or less restrictive licenses
#define EIGEN_MPL2_ONLY
///// #define FAUST_GPU_ALREADY_SET -3
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment