Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
MMCV
Commits
d7432e48
Commit
d7432e48
authored
Sep 09, 2025
by
limm
Committed by
limm
Sep 09, 2025
Browse files
add jenkins.sh
(cherry picked from commit
a4922aeb
)
parent
27fcb6ce
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
2 deletions
+34
-2
jenkins.sh
jenkins.sh
+33
-0
requirements/docs.txt
requirements/docs.txt
+0
-1
requirements/runtime.txt
requirements/runtime.txt
+1
-1
No files found.
jenkins.sh
0 → 100755
View file @
d7432e48
#!/bin/bash
pip
install
-r
requirements.txt
set
-e
source
/opt/dtk/env.sh
export
FORCE_CUDA
=
1
source
/usr/local/bin/fastpt
-C
echo
"开始编译组件mmcv"
MMCV_WITH_OPS
=
1 python3 setup.py
-v
bdist_wheel
echo
"组件mmcv编译完成"
ls
dist/
pip
install
dist/
*
.whl
pip
install
dist/
*
.whl
--force-reinstall
--no-deps
echo
"组件mmcv安装完成"
echo
"开始mmcv单元测试"
if
command
-v
pytest &> /dev/null
;
then
echo
"pytest 已安装,版本:
$(
pytest
--version
)
"
# 跳过安装
else
echo
"pytest 未安装,正在安装..."
# 使用 pip 安装 (最常见)
pip
install
pytest
fi
pytest
-vs
./tests
requirements/docs.txt
View file @
d7432e48
...
@@ -6,5 +6,4 @@ opencv-python
...
@@ -6,5 +6,4 @@ opencv-python
sphinx==4.0.2
sphinx==4.0.2
sphinx-copybutton
sphinx-copybutton
sphinx_markdown_tables>=0.0.16
sphinx_markdown_tables>=0.0.16
torch
urllib3<2.0.0
urllib3<2.0.0
requirements/runtime.txt
View file @
d7432e48
addict
addict
mmengine>=0.3.0
mmengine>=0.3.0
numpy
numpy
==1.24.3
packaging
packaging
Pillow
Pillow
pyyaml
pyyaml
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment