File tree 3 files changed +16
-0
lines changed
3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -15,3 +15,4 @@ echo $ENABLE_CONTRIB > contrib.enabled
15
15
echo $ENABLE_HEADLESS > headless.enabled
16
16
set -x
17
17
build_wheel $REPO_DIR $PLAT
18
+ rm wheelhouse/numpy*
Original file line number Diff line number Diff line change @@ -151,6 +151,12 @@ def main():
151
151
"-DBUILD_PERF_TESTS=OFF" ,
152
152
"-DBUILD_DOCS=OFF" ,
153
153
]
154
+ + (
155
+ # If it is not defined 'linker flags: /machine:X86' on Windows x64
156
+ ["-DCMAKE_GENERATOR_PLATFORM=x64" ]
157
+ if x64 and sys .platform == "win32"
158
+ else []
159
+ )
154
160
+ (
155
161
["-DOPENCV_EXTRA_MODULES_PATH=" + os .path .abspath ("opencv_contrib/modules" )]
156
162
if build_contrib
Original file line number Diff line number Diff line change @@ -92,6 +92,15 @@ function pre_build {
92
92
echo " Starting pre-build"
93
93
set -e -o pipefail
94
94
95
+ if [ -n " $IS_OSX " ]; then
96
+ brew install lapack
97
+ else
98
+ # epel-release need for aarch64 to get openblas packages
99
+ yum install -y lapack-devel epel-release && yum install -y openblas-devel
100
+ cp /usr/include/lapacke/lapacke* .h /usr/include/
101
+ curl https://raw.githubusercontent.com/xianyi/OpenBLAS/v0.3.3/cblas.h -o /usr/include/cblas.h
102
+ fi
103
+
95
104
if [ -n " $IS_OSX " ]; then
96
105
echo " Running for OSX"
97
106
You can’t perform that action at this time.
0 commit comments