提交 f4b41424 编写于 作者: X Xiangquan Xiao

Bazel: Simple fix for bazel 2.0 upgrading.

上级 4dffc371
......@@ -20,15 +20,14 @@ set -e
cd "$(dirname "${BASH_SOURCE[0]}")"
pip3 install --no-cache-dir PyYAML typing
git clone --recursive --single-branch --branch apollo --depth 1 https://github.com/ApolloAuto/pytorch.git
pushd pytorch
pip3 install typing
pip3 install pyyaml
export USE_CUDA=0
python3 setup.py install
mkdir /usr/local/apollo/libtorch
mkdir -p /usr/local/apollo/libtorch
cp -r build/lib /usr/local/apollo/libtorch/
cp -r build/include /usr/local/apollo/libtorch/
......@@ -39,7 +38,7 @@ pushd pytorch
python3 setup.py install
mkdir /usr/local/apollo/libtorch_gpu
mkdir -p /usr/local/apollo/libtorch_gpu
cp -r build/lib /usr/local/apollo/libtorch_gpu/
cp -r build/include /usr/local/apollo/libtorch_gpu/
......
......@@ -60,6 +60,7 @@
#include <map>
#include <vector>
#include "pcl/common/common.h"
#include "pcl/filters/voxel_grid.h"
#include "pcl/kdtree/kdtree_flann.h"
......
......@@ -15,9 +15,11 @@
*****************************************************************************/
#include "modules/perception/lidar/lib/segmentation/ncut/ncut_segmentation.h"
#include <omp.h>
#include <algorithm>
#include <map>
#include "cyber/common/file.h"
#include "cyber/common/log.h"
#include "modules/perception/lib/config_manager/config_manager.h"
......
......@@ -87,7 +87,7 @@ cc_library(
],
deps = [
":planning_base",
"//cyber/common:log",
"//cyber/common:log",
],
)
......
......@@ -85,7 +85,6 @@ cc_library(
hdrs = ["st_obstacles_processor.h"],
copts = ["-DMODULE_NAME=\\\"planning\\\""],
deps = [
"//modules/planning/common:history",
"//modules/common/configs:vehicle_config_helper",
"//modules/common/configs/proto:vehicle_config_proto",
"//modules/common/proto:pnc_point_proto",
......@@ -93,6 +92,7 @@ cc_library(
"//modules/map/pnc_map",
"//modules/map/proto:map_proto",
"//modules/planning/common:frame",
"//modules/planning/common:history",
"//modules/planning/common:obstacle",
"//modules/planning/common:path_decision",
"//modules/planning/common:planning_gflags",
......
......@@ -8,7 +8,7 @@ cc_library(
hdrs = ["routing_gflags.h"],
deps = [
"@com_github_gflags_gflags//:gflags",
]
],
)
cpplint()
......@@ -11,11 +11,9 @@ cc_library(
"src/static_cache.cpp",
"src/time.cpp",
],
hdrs = glob([
"include/**/*.h",
]),
includes = [
"include",
hdrs = glob(["include/**/*.h"]),
includes = ["include"],
deps = [
"//third_party:boost",
],
linkopts = ["-L/usr/local/apollo/boost/lib -lboost_signals -lboost_system -lboost_thread"],
)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册