提交 7171cd37 编写于 作者: L Liu Jiaming

BUILD: fix tf2 LD_LIBARARY_PATH

上级 2c0c7b6e
# directory for cache predownloaded tarballs
## This directory is used as filesystem cache for user pre-downloaded tarballs
......@@ -39,6 +39,7 @@ function set_lib_path() {
export LD_LIBRARY_PATH="${APOLLO_CACHE_DIR}/apollolibs:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH="/usr/local/qt5/lib:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH="/usr/local/fast-rtps/lib:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH="/usr/local/tf2/lib:$LD_LIBRARY_PATH"
# TODO(storypku):
# /apollo/bazel-genfiles/external/caffe/lib
# /usr/local/apollo/local_integ/lib
......
......@@ -31,11 +31,11 @@ set -e
./bootstrap.sh --noninteractive
function bazel_build_with_dist_cache() {
bazel build --distdir=/apollo/.cache/distdir $@
bazel build --distdir=/apollo/.cache/distdir "$@"
}
function bazel_test_with_dist_cache() {
bazel test --distdir=/apollo/.cache/distdir $@
bazel test --distdir=/apollo/.cache/distdir "$@"
}
# Working parts.
......@@ -80,13 +80,13 @@ bash scripts/install_esdcan_library.sh uninstall
bazel_build_with_dist_cache //modules/tools/...
# Note(storypku): bazel test works except some lint errors in cyber_visualizer.
# Check cyber_visualizer's functionality once stablized.
bazel_test_with_dist_cache $(bazel query //modules/tools/... except //modules/tools/visualizer/...)
bazel_test_with_dist_cache "$(bazel query //modules/tools/... except //modules/tools/visualizer/...)"
# bazel_build_with_dist_cache $(bazel query //modules/planning/... except //modules/planning/tools:inference_demo)
bazel_test_with_dist_cache $(bazel query //modules/localization/... \
bazel_test_with_dist_cache "$(bazel query //modules/localization/... \
except //modules/localization/ndt/ndt_locator/... \
except //modules/localization/msf/local_pyramid_map/pyramid_map/... \
)
)"
# In-progress parts. Feel free to claim by adding your name in TODO and move it
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册