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
vision
Commits
02d3d6db
"docs/source/en/optimization/fp16.mdx" did not exist on "a6314a8d4e1c301bce4e45c10f325f594220617f"
Unverified
Commit
02d3d6db
authored
Aug 23, 2023
by
Andrey Talman
Committed by
GitHub
Aug 23, 2023
Browse files
Fix aarch64 builds (#7872)
parent
c486bb14
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
packaging/pre_build_script.sh
packaging/pre_build_script.sh
+7
-2
No files found.
packaging/pre_build_script.sh
View file @
02d3d6db
...
...
@@ -11,7 +11,7 @@ if [[ "$(uname)" == Darwin ]]; then
conda
install
-yq
wget
fi
if
[[
"
$(
uname
)
"
==
Darwin
||
"
$OSTYPE
"
==
"msys"
||
"
$ARCH
"
==
"aarch64"
]]
;
then
if
[[
"
$(
uname
)
"
==
Darwin
||
"
$OSTYPE
"
==
"msys"
]]
;
then
# Install libpng from Anaconda (defaults)
conda
install
libpng
-yq
conda
install
-yq
ffmpeg
=
4.2 libjpeg-turbo
-c
pytorch
...
...
@@ -22,8 +22,13 @@ if [[ "$(uname)" == Darwin || "$OSTYPE" == "msys" || "$ARCH" == "aarch64" ]]; th
bin_path
=
$(
dirname
$python_exec
)
cp
"
$bin_path
/Library/bin/libjpeg.dll"
torchvision
fi
else
if
[[
"
$ARCH
"
==
"aarch64"
]]
;
then
conda
install
libpng
-yq
conda
install
-yq
ffmpeg
=
4.2 libjpeg-turbo
-c
pytorch-nightly
fi
# Install native CentOS libJPEG, freetype and GnuTLS
yum
install
-y
libjpeg-turbo-devel freetype gnutls
...
...
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