Skip to content

Commit

Permalink
add submodule and ln -sf in cmakefile
Browse files Browse the repository at this point in the history
  • Loading branch information
2742195759 committed Jun 15, 2023
1 parent ee23fdb commit 7bc67ed
Show file tree
Hide file tree
Showing 38 changed files with 6 additions and 5,863 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,6 @@
path = third_party/eigen3
url = https://gitlab.com/libeigen/eigen.git
ignore = dirty
[submodule "python/paddle/jit/PaddleSOT"]
path = python/paddle/jit/PaddleSOT
url = https://github.com/PaddlePaddle/PaddleSOT
3 changes: 2 additions & 1 deletion python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ else()
${PADDLE_BINARY_DIR}/python
COMMAND cp -r ${PADDLE_SOURCE_DIR}/test ${PADDLE_BINARY_DIR}/
COMMAND env ${py_env} ${PYTHON_EXECUTABLE} setup.py bdist_wheel
COMMAND ln -sf ${PADDLE_SOURCE_DIR}/python/paddle/jit/PaddleSOT/sot ${PADDLE_BINARY_DIR}/python/paddle/jit/sot
COMMENT "Packing whl packages------>>>"
DEPENDS copy_libpaddle ${FLUID_CORE} framework_py_proto profiler_py_proto
pass_desc_py_proto ${PY_FILES})
Expand Down Expand Up @@ -168,4 +169,4 @@ if(LINUX
FATAL_ERROR "patchelf not found, please install it.\n"
"For Ubuntu, the command is: apt-get install -y patchelf.")
endif()
endif()
endif()
1 change: 1 addition & 0 deletions python/paddle/jit/PaddleSOT
Submodule PaddleSOT added at 32d04c
24 changes: 0 additions & 24 deletions python/paddle/jit/symbolic_trace/__init__.py

This file was deleted.

155 changes: 0 additions & 155 deletions python/paddle/jit/symbolic_trace/infer_meta.py

This file was deleted.

17 changes: 0 additions & 17 deletions python/paddle/jit/symbolic_trace/opcode_translator/__init__.py

This file was deleted.

This file was deleted.

Loading

0 comments on commit 7bc67ed

Please sign in to comment.