Skip to content

Commit

Permalink
Arm wheel (#209)
Browse files Browse the repository at this point in the history
* Updated arm manylinux file
* Updated appveyor cfg
  • Loading branch information
pkittenis authored Jan 12, 2025
1 parent 696da0c commit 2929075
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ install:
- cp %VCLIBDIR%/msvcp*.dll ssh2/
- cp %VCLIBDIR%/msvcr*.dll ssh2/
- cp %OPENSSL_DIR%/bin/*.dll ssh2/
- ps: ls ssh2/*.dll

- for %%I in (%PYTHONVERS%) do %%I\python.exe -V
- for %%I in (%PYTHONVERS%) do %%I\Scripts\pip install -U wheel setuptools twine cython
Expand All @@ -65,12 +66,13 @@ install:
- 7z x ci\appveyor\zlib1211.zip

build_script:
- dir %OPENSSL_DIR%\lib\VC\x64\MD
- dir %OPENSSL_DIR%\lib\VC\x64\MD\
- ci\\appveyor\\build_zlib.bat
- for %%I in (%PYTHONVERS%) do cp C:/zlib/lib/zlibstatic.lib %%I/libs/
- for %%I in (%PYTHONVERS%) do ls %%I/libs/
- ci\\appveyor\\build_ssh2.bat
- for %%I in (%PYTHONVERS%) do cp build_dir/src/libssh2.lib %%I/libs/ || cp build_dir/src/Release/libssh2.lib %%I/libs/
- for %%I in (%PYTHONVERS%) do ls %%I/libs/
- rm -f ssh2/*.c

test_script:
Expand Down
6 changes: 4 additions & 2 deletions ci/appveyor/build_ssh2.bat
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ cmake ..\libssh2 -G "NMake Makefiles" ^
-DOPENSSL_ROOT_DIR=%OPENSSL_DIR%
)

cp %OPENSSL_DIR%\lib\VC\x64\MD\libcrypto.lib %APPVEYOR_BUILD_FOLDER%
cp %OPENSSL_DIR%\lib\VC\x64\MD\libssl.lib %APPVEYOR_BUILD_FOLDER%
cp %OPENSSL_DIR%\lib\VC\x64\MD\libcrypto*.lib %APPVEYOR_BUILD_FOLDER%
cp %OPENSSL_DIR%\lib\VC\x64\MD\libssl*.lib %APPVEYOR_BUILD_FOLDER%

dir %APPVEYOR_BUILD_FOLDER%\

cmake --build . --config Release
cd ..
2 changes: 1 addition & 1 deletion ci/docker/manylinux/Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ENV OPENSSL openssl-3.4.0
ENV SYSTEM_LIBSSH2 1
ENV LIBSSH2_VERSION 1.11.1

RUN yum install zlib-devel -y
RUN yum install zlib-devel perl-IPC-Cmd -y

ADD libssh2-${LIBSSH2_VERSION}.tar.gz libssh2-${LIBSSH2_VERSION}.tar.gz
ADD https://www.openssl.org/source/${OPENSSL}.tar.gz ${OPENSSL}.tar.gz
Expand Down

0 comments on commit 2929075

Please sign in to comment.