Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
faust
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
faust group
faust
Commits
b28966fa
Commit
b28966fa
authored
9 years ago
by
Adrien Leman
Committed by
hhakim
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
modif install lib
parent
01f267dc
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CMake/findEIGENLib.cmake
+8
-0
8 additions, 0 deletions
CMake/findEIGENLib.cmake
CMake/findMATIOLib.cmake
+11
-1
11 additions, 1 deletion
CMake/findMATIOLib.cmake
CMake/findOPENBLASLib.cmake
+8
-0
8 additions, 0 deletions
CMake/findOPENBLASLib.cmake
with
27 additions
and
1 deletion
CMake/findEIGENLib.cmake
+
8
−
0
View file @
b28966fa
...
@@ -12,6 +12,12 @@ else (EIGEN_INC_DIR)
...
@@ -12,6 +12,12 @@ else (EIGEN_INC_DIR)
# Eigen library come from following link. You can modifying svn version of eigen for latest stable release version.
# Eigen library come from following link. You can modifying svn version of eigen for latest stable release version.
#exec_program("wget -P ${CMAKE_SOURCE_DIR}/externals/tmp https://bitbucket.org/eigen/eigen/get/3.2.8.tar.bz2")
#exec_program("wget -P ${CMAKE_SOURCE_DIR}/externals/tmp https://bitbucket.org/eigen/eigen/get/3.2.8.tar.bz2")
message
(
STATUS
"------------------------------------------------"
)
message
(
STATUS
"------------------------------------------------"
)
message
(
STATUS
"------------- EIGEN LIB INSTALLATION -----------"
)
message
(
STATUS
"------------------------------------------------"
)
message
(
STATUS
"------------------------------------------------"
)
set
(
EIGEN_LIB_NAME
"3.2.8.tar.bz2"
)
set
(
EIGEN_LIB_NAME
"3.2.8.tar.bz2"
)
exec_program
(
"tar jxf
${
CMAKE_SOURCE_DIR
}
/externals/unix/tarLibs/
${
EIGEN_LIB_NAME
}
-C
${
CMAKE_SOURCE_DIR
}
/externals/unix"
)
exec_program
(
"tar jxf
${
CMAKE_SOURCE_DIR
}
/externals/unix/tarLibs/
${
EIGEN_LIB_NAME
}
-C
${
CMAKE_SOURCE_DIR
}
/externals/unix"
)
exec_program
(
"mv
${
CMAKE_SOURCE_DIR
}
/externals/unix/eigen-*
${
CMAKE_SOURCE_DIR
}
/externals/unix/eigen"
)
exec_program
(
"mv
${
CMAKE_SOURCE_DIR
}
/externals/unix/eigen-*
${
CMAKE_SOURCE_DIR
}
/externals/unix/eigen"
)
...
@@ -33,6 +39,8 @@ else (EIGEN_INC_DIR)
...
@@ -33,6 +39,8 @@ else (EIGEN_INC_DIR)
#message(STATUS "INCLUDE_PATH_LIST=${INCLUDE_PATH_LIST}")
#message(STATUS "INCLUDE_PATH_LIST=${INCLUDE_PATH_LIST}")
check_external_includes
(
"Eigen/Dense"
EIGEN_INC_DIR 0
)
check_external_includes
(
"Eigen/Dense"
EIGEN_INC_DIR 0
)
message
(
STATUS
"Eigen library is available here:
${
EIGEN_INC_DIR
}
"
)
message
(
STATUS
"Eigen library is available here:
${
EIGEN_INC_DIR
}
"
)
message
(
STATUS
"------------------------------------------------"
)
message
(
STATUS
"------------------------------------------------"
)
endif
(
EIGEN_INC_DIR
)
endif
(
EIGEN_INC_DIR
)
#############################################################
#############################################################
This diff is collapsed.
Click to expand it.
CMake/findMATIOLib.cmake
+
11
−
1
View file @
b28966fa
...
@@ -9,13 +9,20 @@ if ( (MATIO_LIB_FILE) AND (MATIO_INC_DIR) )
...
@@ -9,13 +9,20 @@ if ( (MATIO_LIB_FILE) AND (MATIO_INC_DIR) )
message
(
STATUS
"MATIO library and include are available here :
${
MATIO_LIB_FILE
}
"
)
message
(
STATUS
"MATIO library and include are available here :
${
MATIO_LIB_FILE
}
"
)
else
(
(
MATIO_LIB_FILE
)
AND
(
MATIO_INC_DIR
)
)
else
(
(
MATIO_LIB_FILE
)
AND
(
MATIO_INC_DIR
)
)
if
(
UNIX
)
if
(
UNIX
)
message
(
STATUS
"------------------------------------------------"
)
message
(
STATUS
"------------------------------------------------"
)
message
(
STATUS
"------------ MATIO LIB INSTALLATION ------------"
)
message
(
STATUS
"------------------------------------------------"
)
message
(
STATUS
"------------------------------------------------"
)
#exec_program("wget -P ${CMAKE_SOURCE_DIR}/externals/unix/tarLibs http://github.com/xianyi/OpenBLAS/archive/v0.2.18.tar.gz")
#exec_program("wget -P ${CMAKE_SOURCE_DIR}/externals/unix/tarLibs http://github.com/xianyi/OpenBLAS/archive/v0.2.18.tar.gz")
set
(
MATIO_LIB_NAME
"matio-1.5.7.7z"
)
set
(
MATIO_LIB_NAME
"matio-1.5.7.7z"
)
exec_program
(
"7z x
${
CMAKE_SOURCE_DIR
}
/externals/unix/tarLibs/
${
MATIO_LIB_NAME
}
-o
${
CMAKE_SOURCE_DIR
}
/externals/unix"
)
exec_program
(
"7z x
${
CMAKE_SOURCE_DIR
}
/externals/unix/tarLibs/
${
MATIO_LIB_NAME
}
-o
${
CMAKE_SOURCE_DIR
}
/externals/unix"
)
exec_program
(
"mv
${
CMAKE_SOURCE_DIR
}
/externals/unix/matio-*
${
CMAKE_SOURCE_DIR
}
/externals/unix/matio"
)
exec_program
(
"mv
${
CMAKE_SOURCE_DIR
}
/externals/unix/matio-*
${
CMAKE_SOURCE_DIR
}
/externals/unix/matio"
)
exec_program
(
"cd
${
CMAKE_SOURCE_DIR
}
/externals/unix/matio && chmod -R 777 ./ && ./configure && make"
)
# && make check
exec_program
(
"cd
${
CMAKE_SOURCE_DIR
}
/externals/unix/matio && chmod -R 777 ./ && ./configure && make"
)
# && make check
# NOTE WARNING : WE DON'T run make install because it is not a root user install. We used directly the lib and include in sdk_matio package.
# NOTE WARNING : WE DON'T run make install because it is not a root user install. We used directly the lib and include in sdk_matio package.
# NOTE IF you have not 7z -->mac : brew install p7zip
add_include_path
(
INCLUDE_PATH_LIST_TMP_MATIO
"
${
PROJECT_SOURCE_DIR
}
/externals/unix/matio/src"
)
add_include_path
(
INCLUDE_PATH_LIST_TMP_MATIO
"
${
PROJECT_SOURCE_DIR
}
/externals/unix/matio/src"
)
add_library_path
(
LIBRARY_PATH_LIST_TMP_MATIO
"
${
PROJECT_SOURCE_DIR
}
/externals/unix/matio/src/.libs"
)
add_library_path
(
LIBRARY_PATH_LIST_TMP_MATIO
"
${
PROJECT_SOURCE_DIR
}
/externals/unix/matio/src/.libs"
)
elseif
(
WIN32
)
elseif
(
WIN32
)
...
@@ -37,6 +44,9 @@ else ( (MATIO_LIB_FILE) AND (MATIO_INC_DIR) )
...
@@ -37,6 +44,9 @@ else ( (MATIO_LIB_FILE) AND (MATIO_INC_DIR) )
else
()
else
()
message
(
STATUS
"ERROR !!! matio is not installed !!!!!"
)
message
(
STATUS
"ERROR !!! matio is not installed !!!!!"
)
endif
()
endif
()
message
(
STATUS
"------------------------------------------------"
)
message
(
STATUS
"------------------------------------------------"
)
################################################################
################################################################
endif
()
endif
()
...
...
This diff is collapsed.
Click to expand it.
CMake/findOPENBLASLib.cmake
+
8
−
0
View file @
b28966fa
...
@@ -10,6 +10,12 @@ if ( (OPENBLAS_LIB_FILE) AND (OPENBLAS_INC_DIR) )
...
@@ -10,6 +10,12 @@ if ( (OPENBLAS_LIB_FILE) AND (OPENBLAS_INC_DIR) )
else
(
(
OPENBLAS_LIB_FILE
)
AND
(
OPENBLAS_INC_DIR
)
)
else
(
(
OPENBLAS_LIB_FILE
)
AND
(
OPENBLAS_INC_DIR
)
)
if
(
UNIX
)
if
(
UNIX
)
#exec_program("wget -P ${CMAKE_SOURCE_DIR}/externals/unix/tarLibs http://github.com/xianyi/OpenBLAS/archive/v0.2.18.tar.gz")
#exec_program("wget -P ${CMAKE_SOURCE_DIR}/externals/unix/tarLibs http://github.com/xianyi/OpenBLAS/archive/v0.2.18.tar.gz")
message
(
STATUS
"------------------------------------------------"
)
message
(
STATUS
"------------------------------------------------"
)
message
(
STATUS
"------------ OPENBLAS LIB INSTALLATION ---------"
)
message
(
STATUS
"------------------------------------------------"
)
message
(
STATUS
"------------------------------------------------"
)
set
(
OPENBLAS_LIB_NAME
"v0.2.18.tar.gz"
)
set
(
OPENBLAS_LIB_NAME
"v0.2.18.tar.gz"
)
exec_program
(
"tar xzf
${
CMAKE_SOURCE_DIR
}
/externals/unix/tarLibs/
${
OPENBLAS_LIB_NAME
}
-C
${
CMAKE_SOURCE_DIR
}
/externals/unix"
)
exec_program
(
"tar xzf
${
CMAKE_SOURCE_DIR
}
/externals/unix/tarLibs/
${
OPENBLAS_LIB_NAME
}
-C
${
CMAKE_SOURCE_DIR
}
/externals/unix"
)
exec_program
(
"mv
${
CMAKE_SOURCE_DIR
}
/externals/unix/OpenBLAS*
${
CMAKE_SOURCE_DIR
}
/externals/unix/sdk_OpenBLAS"
)
exec_program
(
"mv
${
CMAKE_SOURCE_DIR
}
/externals/unix/OpenBLAS*
${
CMAKE_SOURCE_DIR
}
/externals/unix/sdk_OpenBLAS"
)
...
@@ -36,6 +42,8 @@ else ( (OPENBLAS_LIB_FILE) AND (OPENBLAS_INC_DIR) )
...
@@ -36,6 +42,8 @@ else ( (OPENBLAS_LIB_FILE) AND (OPENBLAS_INC_DIR) )
check_external_includes
(
"cblas.h"
OPENBLAS_INC_DIR 0
)
check_external_includes
(
"cblas.h"
OPENBLAS_INC_DIR 0
)
message
(
STATUS
"OpenBlas library and include are available here :
${
OPENBLAS_LIB_FILE
}
"
)
message
(
STATUS
"OpenBlas library and include are available here :
${
OPENBLAS_LIB_FILE
}
"
)
#message(STATUS "OPENBLAS_INC_DIR= ${OPENBLAS_INC_DIR}")
#message(STATUS "OPENBLAS_INC_DIR= ${OPENBLAS_INC_DIR}")
message
(
STATUS
"------------------------------------------------"
)
message
(
STATUS
"------------------------------------------------"
)
################################################################
################################################################
endif
()
endif
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment