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
53327436
Commit
53327436
authored
9 years ago
by
testcdash Nicolas Bellot
Committed by
hhakim
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
No commit message
No commit message
parent
19070691
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMake/findEIGENLib.cmake
+10
-6
10 additions, 6 deletions
CMake/findEIGENLib.cmake
with
10 additions
and
6 deletions
CMake/findEIGENLib.cmake
+
10
−
6
View file @
53327436
...
@@ -4,6 +4,12 @@ check_external_includes("Eigen/Dense" EIGEN_INC_DIR 0) # on test avec INCLUDE_PA
...
@@ -4,6 +4,12 @@ check_external_includes("Eigen/Dense" EIGEN_INC_DIR 0) # on test avec INCLUDE_PA
if
(
EIGEN_INC_DIR
)
if
(
EIGEN_INC_DIR
)
message
(
STATUS
"Eigen library is available here:
${
EIGEN_INC_DIR
}
"
)
message
(
STATUS
"Eigen library is available here:
${
EIGEN_INC_DIR
}
"
)
else
(
EIGEN_INC_DIR
)
else
(
EIGEN_INC_DIR
)
message
(
STATUS
"------------------------------------------------"
)
message
(
STATUS
"------------------------------------------------"
)
message
(
STATUS
"------------- EIGEN LIB INSTALLATION -----------"
)
message
(
STATUS
"------------------------------------------------"
)
message
(
STATUS
"------------------------------------------------"
)
if
(
UNIX
)
if
(
UNIX
)
#exec_program("which hg | xargs echo" OUTPUT_VARIABLE MERCURIAL_HG_PATH_DIR)
#exec_program("which hg | xargs echo" OUTPUT_VARIABLE MERCURIAL_HG_PATH_DIR)
#exec_program("readlink ${MERCURIAL_HG_PATH_DIR}" OUTPUT_VARIABLE READLINK_TMP)
#exec_program("readlink ${MERCURIAL_HG_PATH_DIR}" OUTPUT_VARIABLE READLINK_TMP)
...
@@ -12,11 +18,7 @@ else (EIGEN_INC_DIR)
...
@@ -12,11 +18,7 @@ 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
(
"rm -r
${
CMAKE_SOURCE_DIR
}
/externals/unix/eigen"
)
exec_program
(
"rm -r
${
CMAKE_SOURCE_DIR
}
/externals/unix/eigen"
)
...
@@ -26,7 +28,9 @@ else (EIGEN_INC_DIR)
...
@@ -26,7 +28,9 @@ else (EIGEN_INC_DIR)
elseif
(
WIN32
)
elseif
(
WIN32
)
#exec_program("wget -P ${CMAKE_SOURCE_DIR}/externals/win/eigen http://bitbucket.org/eigen/eigen/get/3.2.8.zip")
#exec_program("wget -P ${CMAKE_SOURCE_DIR}/externals/win/eigen http://bitbucket.org/eigen/eigen/get/3.2.8.zip")
set
(
EIGEN_LIB_NAME
"eigen-eigen-07105f7124f9.zip"
)
set
(
EIGEN_LIB_NAME
"eigen-eigen-07105f7124f9.zip"
)
exec_program
(
"tar jxf
${
CMAKE_SOURCE_DIR
}
/externals/win/zipLibs/
${
EIGEN_LIB_NAME
}
${
CMAKE_SOURCE_DIR
}
/externals/win/eigen/"
)
exec_program
(
"rd
${
CMAKE_SOURCE_DIR
}
/externals/win/eigen"
)
exec_program
(
"7z x
${
CMAKE_SOURCE_DIR
}
/externals/win/zipLibs/
${
EIGEN_LIB_NAME
}
-o
${
CMAKE_SOURCE_DIR
}
/externals/win -y"
)
exec_program
(
"move
${
CMAKE_SOURCE_DIR
}
/externals/unix/eigen-*
${
CMAKE_SOURCE_DIR
}
/externals/unix/eigen"
)
add_include_path
(
INCLUDE_PATH_LIST_TMP_EIGEN
"
${
PROJECT_SOURCE_DIR
}
/externals/win/eigen"
)
add_include_path
(
INCLUDE_PATH_LIST_TMP_EIGEN
"
${
PROJECT_SOURCE_DIR
}
/externals/win/eigen"
)
else
(
UNIX
)
else
(
UNIX
)
message
(
WARNING
"Unknown type of plateform for library Eigen"
)
message
(
WARNING
"Unknown type of plateform for library Eigen"
)
...
...
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