Skip to content

Arm wheel #209

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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