-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #62 from danlipsa/vtk-new-module-system
Vtk new module system
- Loading branch information
Showing
9 changed files
with
170 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FROM centos:6 | ||
MAINTAINER Dan Lipsa <[email protected]> | ||
|
||
RUN yum groupinstall "X Window System" "Desktop" "Desktop Platform" | ||
|
||
CMD ["/bin/bash"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
=========================================== | ||
Centos 6 docker for insepcting CDT packages | ||
=========================================== | ||
|
||
* pull centos6 image | ||
>>> docker pull centos:6 | ||
|
||
* build the image cdat-centos6 | ||
The docker file is from | ||
https://hub.docker.com/_/centos | ||
>>> docker build --rm -t cdat-centos6 . | ||
|
||
* run the container cdat-centos6, using image cdat-centos6 to create it, mounting the | ||
important folders. For instance ~/projects has all the CDAT | ||
recipes. This gives you a prompt in RedHat 6 docker. | ||
>>> docker run -it -v ~/projects/:/root/projects -v ~/anaconda3:/home/danlipsa/anaconda3 --name cdat-centos6 cdat-centos6 | ||
|
||
* Work with centos6 | ||
|
||
* exit the container | ||
>>> exit | ||
|
||
* start the container after exit | ||
>>> docker container start cdat-centos6 | ||
|
||
* connect to the container | ||
>>> docker exec -it cdat-centos6 /bin/bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,14 @@ | ||
python: | ||
- 3.6 | ||
- 2.7 | ||
pin_run_as_build: | ||
python: x.x | ||
|
||
ffmpeg: | ||
- 4.0.* | ||
pin_run_as_build: | ||
ffmpeg: x.x | ||
|
||
numpy: | ||
- 1.14 | ||
python: x.x.x | ||
|
||
VTK_WITH_OSMESA: | ||
- False | ||
- True | ||
|
||
CONDA_BUILD_SYSROOT: | ||
- /opt/MacOSX10.9.sdk # [osx] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
set(CMAKE_SYSTEM_NAME ${CMAKE_HOST_NAME}) | ||
set(CMAKE_SYSTEM_PROCESSOR ${CMAKE_SYSTEM_PROCESSOR}) | ||
|
||
# specify the cross compiler | ||
set(CMAKE_C_COMPILER $ENV{CC}) | ||
set(CMAKE_CXX_COMPILER $ENV{CXX}) | ||
|
||
# where is the target environment | ||
set(CMAKE_FIND_ROOT_PATH "$ENV{PREFIX};$ENV{BUILD_PREFIX}/$ENV{HOST}/sysroot") | ||
set(CMAKE_SYSROOT $ENV{BUILD_PREFIX}/$ENV{HOST}/sysroot) | ||
|
||
# search for programs in the build host directories | ||
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) | ||
# for libraries and headers in the target directories | ||
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) | ||
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/Utilities/Python/CMakeLists.txt b/Utilities/Python/CMakeLists.txt | ||
index 632069bc0d..44e4371b1a 100644 | ||
--- a/Utilities/Python/CMakeLists.txt | ||
+++ b/Utilities/Python/CMakeLists.txt | ||
@@ -147,7 +147,7 @@ cmake_dependent_option(VTK_PYTHON_OPTIONAL_LINK | ||
# `target_link_options`. | ||
# XXX(Linux): Currently, this causes missing symbols on Linux in ParaView. | ||
# More investigation is necessary. | ||
- "FALSE;BUILD_SHARED_LIBS;COMMAND target_link_options" OFF) | ||
+ "BUILD_SHARED_LIBS;COMMAND target_link_options" OFF) | ||
|
||
add_library(PythonUsed INTERFACE) | ||
add_library(VTK::PythonUsed ALIAS PythonUsed) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters