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
bitsandbytes
Commits
c5e43637
"...text-generation-inference.git" did not exist on "d6a93fe992bc932027df6f4a8f2b87c68d233f55"
Unverified
Commit
c5e43637
authored
Feb 19, 2024
by
Rickard
Committed by
GitHub
Feb 19, 2024
Browse files
Fix cross compilation on linux (#1050)
parent
ceae1504
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
.github/workflows/python-package.yml
.github/workflows/python-package.yml
+3
-3
No files found.
.github/workflows/python-package.yml
View file @
c5e43637
...
@@ -54,9 +54,9 @@ jobs:
...
@@ -54,9 +54,9 @@ jobs:
build_arch=${{ matrix.arch }}
build_arch=${{ matrix.arch }}
if [ ${build_os:0:6} == ubuntu -a ${build_arch} == aarch64 ]; then
if [ ${build_os:0:6} == ubuntu -a ${build_arch} == aarch64 ]; then
# Allow cross-compile om aarch64
# Allow cross-compile om aarch64
sudo apt-get install -y gcc-aarch64-linux-gnu binutils-aarch64-linux-gnu
sudo apt-get install -y gcc-aarch64-linux-gnu binutils-aarch64-linux-gnu
g++-aarch64-linux-gnu
fi
cmake -DCMAKE_C_COMPILER=aarch64-linux-gnu-gcc -DCMAKE_CXX_COMPILER=aarch64-linux-gnu-g++ -DCOMPUTE_BACKEND=cpu .
if [ ${build_os:0:5} == macos -a ${build_arch} == aarch64 ]; then
el
if [ ${build_os:0:5} == macos -a ${build_arch} == aarch64 ]; then
cmake -DCMAKE_OSX_ARCHITECTURES=arm64 -DCOMPUTE_BACKEND=cpu .
cmake -DCMAKE_OSX_ARCHITECTURES=arm64 -DCOMPUTE_BACKEND=cpu .
else
else
cmake -DCOMPUTE_BACKEND=cpu .
cmake -DCOMPUTE_BACKEND=cpu .
...
...
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