File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change
1
+ # ensure dockerfiles are checked out with LF line endings
2
+ Dockerfile text eol =lf
3
+ * .dockerfile text eol =lf
Original file line number Diff line number Diff line change @@ -81,6 +81,13 @@ cuda_prefix="https://developer.download.nvidia.com/compute/cuda/"
81
81
cuda_suffix=""
82
82
if [[ "${TARGETPLATFORM}" == 'linux/arm64' ]]; then
83
83
cuda_suffix="_sbsa"
84
+
85
+ # patch headers https://bugs.launchpad.net/ubuntu/+source/mumax3/+bug/2032624
86
+ sed -i 's/__Float32x4_t/int/g' /usr/include/bits/math-vector.h
87
+ sed -i 's/__Float64x2_t/int/g' /usr/include/bits/math-vector.h
88
+ sed -i 's/__SVFloat32_t/float/g' /usr/include/bits/math-vector.h
89
+ sed -i 's/__SVFloat64_t/float/g' /usr/include/bits/math-vector.h
90
+ sed -i 's/__SVBool_t/int/g' /usr/include/bits/math-vector.h
84
91
fi
85
92
url="${cuda_prefix}${CUDA_VERSION}/local_installers/cuda_${CUDA_VERSION}_${CUDA_BUILD}_linux${cuda_suffix}.run"
86
93
echo "cuda url: ${url}"
You can’t perform that action at this time.
0 commit comments