forked from RobotLocomotion/drake
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update vtk and drake-visualizer versions
- Loading branch information
Jamie Snape
committed
Mar 20, 2019
1 parent
d92a0ce
commit d27be3d
Showing
18 changed files
with
542 additions
and
55 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
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 |
---|---|---|
|
@@ -15,6 +15,9 @@ if ! command -v /usr/local/bin/brew &>/dev/null; then | |
fi | ||
|
||
/usr/local/bin/brew update | ||
# TODO(jamiesnape): Remove line uninstalling embree, ospray, and [email protected] | ||
# formulae on or after 2019-06-30. | ||
/usr/local/bin/brew uninstall --force embree ospray [email protected] | ||
/usr/local/bin/brew bundle --file="${BASH_SOURCE%/*}/Brewfile" | ||
|
||
/usr/local/bin/pip2 install --upgrade --requirement "${BASH_SOURCE%/*}/requirements.txt" | ||
|
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 |
---|---|---|
|
@@ -13,7 +13,6 @@ libhdf5-100 | |
libjpeg8 | ||
libjsoncpp1 | ||
liblapack3 | ||
libnetcdf-c++4 | ||
libnetcdf13 | ||
libnlopt0 | ||
libogg0 | ||
|
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 |
---|---|---|
|
@@ -13,7 +13,6 @@ libhdf5-10 | |
libjpeg8 | ||
libjsoncpp1 | ||
liblapack3 | ||
libnetcdf-c++4 | ||
libnetcdf11 | ||
libnlopt0 | ||
libogg0 | ||
|
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
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,8 @@ | ||
# -*- python -*- | ||
|
||
# This file exists to make our directory into a Bazel package, so that our | ||
# neighboring *.bzl file can be loaded elsewhere. | ||
|
||
load("//tools/lint:lint.bzl", "add_lint_tests") | ||
|
||
add_lint_tests() |
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,23 @@ | ||
# -*- mode: python -*- | ||
|
||
load( | ||
"@drake//tools/workspace:pkg_config.bzl", | ||
"pkg_config_repository", | ||
) | ||
|
||
def jsoncpp_repository( | ||
name, | ||
licenses = [ | ||
"notice", # MIT | ||
"unencumbered", # Public-Domain | ||
], | ||
modname = "jsoncpp", | ||
pkg_config_paths = ["/usr/local/opt/jsoncpp/lib/pkgconfig"], | ||
**kwargs): | ||
pkg_config_repository( | ||
name = name, | ||
licenses = licenses, | ||
modname = modname, | ||
pkg_config_paths = pkg_config_paths, | ||
**kwargs | ||
) |
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,8 @@ | ||
# -*- python -*- | ||
|
||
# This file exists to make our directory into a Bazel package, so that our | ||
# neighboring *.bzl file can be loaded elsewhere. | ||
|
||
load("//tools/lint:lint.bzl", "add_lint_tests") | ||
|
||
add_lint_tests() |
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,20 @@ | ||
# -*- mode: python -*- | ||
|
||
load( | ||
"@drake//tools/workspace:pkg_config.bzl", | ||
"pkg_config_repository", | ||
) | ||
|
||
def libjpeg_repository( | ||
name, | ||
licenses = ["notice"], # IJG | ||
modname = "libjpeg", | ||
pkg_config_paths = ["/usr/local/opt/libjpeg/lib/pkgconfig"], | ||
**kwargs): | ||
pkg_config_repository( | ||
name = name, | ||
licenses = licenses, | ||
modname = modname, | ||
pkg_config_paths = pkg_config_paths, | ||
**kwargs | ||
) |
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,23 +1,31 @@ | ||
From: Jamie Snape <[email protected]> | ||
Date: Tue, 19 Mar 2019 00:00:00 -0400 | ||
Subject: [PATCH] Do not enable fast-math compiler optimizations when compiling with GCC and ISPC | ||
--- | ||
components/ospcommon/cmake/gcc.cmake | 4 ++-- | ||
components/ospcommon/cmake/ispc.cmake | 1 - | ||
2 files changed, 2 insertions(+), 3 deletions(-) | ||
|
||
diff --git a/components/ospcommon/cmake/gcc.cmake b/components/ospcommon/cmake/gcc.cmake | ||
index 3463cd075..6b1c67130 100644 | ||
index dff29f7b6..5d209322a 100644 | ||
--- a/components/ospcommon/cmake/gcc.cmake | ||
+++ b/components/ospcommon/cmake/gcc.cmake | ||
@@ -30,8 +30,8 @@ ENDIF() | ||
@@ -31,8 +31,8 @@ endif() | ||
|
||
SET(CMAKE_CXX_FLAGS "${OSPRAY_CXX_FLAGS} ${CMAKE_CXX_FLAGS}") | ||
SET(CMAKE_CXX_FLAGS_DEBUG "-DDEBUG -g -Wstrict-aliasing=1") | ||
-SET(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG -O3 -Wstrict-aliasing=1 -ffast-math -fno-finite-math-only ") | ||
-SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-DNDEBUG -g -O3 -Wstrict-aliasing=1 -ffast-math -fno-finite-math-only ") | ||
+SET(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG -O3 -Wstrict-aliasing=1 ") | ||
+SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-DNDEBUG -g -O3 -Wstrict-aliasing=1 ") | ||
SET(CMAKE_C_FLAGS "-std=c99 ${CMAKE_C_FLAGS}") | ||
set(CMAKE_CXX_FLAGS "${OSPRAY_CXX_FLAGS} ${CMAKE_CXX_FLAGS}") | ||
set(CMAKE_CXX_FLAGS_DEBUG "-DDEBUG -g -Wstrict-aliasing=1") | ||
-set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG -O3 -Wstrict-aliasing=1 -ffast-math -fno-finite-math-only ") | ||
-set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-DNDEBUG -g -O3 -Wstrict-aliasing=1 -ffast-math -fno-finite-math-only ") | ||
+set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG -O3 -Wstrict-aliasing=1") | ||
+set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-DNDEBUG -g -O3 -Wstrict-aliasing=1") | ||
|
||
IF (APPLE) | ||
if (APPLE) | ||
set(CMAKE_CXX_FLAGS "-mmacosx-version-min=10.9 ${CMAKE_CXX_FLAGS}") # we only use MacOSX 10.9 features | ||
diff --git a/components/ospcommon/cmake/ispc.cmake b/components/ospcommon/cmake/ispc.cmake | ||
index 7d02f37c2..12f91aacd 100644 | ||
index fde7eff06..a1abce4b4 100644 | ||
--- a/components/ospcommon/cmake/ispc.cmake | ||
+++ b/components/ospcommon/cmake/ispc.cmake | ||
@@ -186,7 +186,6 @@ MACRO (OSPRAY_ISPC_COMPILE) | ||
@@ -199,7 +199,6 @@ MACRO (OSPRAY_ISPC_COMPILE) | ||
${ISPC_OPT_FLAGS} | ||
--target=${ISPC_TARGET_ARGS} | ||
--woff | ||
|
Oops, something went wrong.