Skip to content

Commit

Permalink
Merge pull request #21 from JohanMabille/static_build
Browse files Browse the repository at this point in the history
Added package for static library
  • Loading branch information
SylvainCorlay committed Sep 15, 2022
2 parents 6c532b8 + 6143d27 commit d5976ed
Show file tree
Hide file tree
Showing 21 changed files with 327 additions and 142 deletions.
2 changes: 1 addition & 1 deletion .azure-pipelines/azure-pipelines-osx.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

69 changes: 21 additions & 48 deletions .azure-pipelines/azure-pipelines-win.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .ci_support/osx_64_openssl1.1.1.yaml
Expand Up @@ -3,7 +3,7 @@ MACOSX_DEPLOYMENT_TARGET:
c_compiler:
- clang
c_compiler_version:
- '13'
- '14'
channel_sources:
- conda-forge
channel_targets:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/osx_64_openssl3.yaml
Expand Up @@ -3,7 +3,7 @@ MACOSX_DEPLOYMENT_TARGET:
c_compiler:
- clang
c_compiler_version:
- '13'
- '14'
channel_sources:
- conda-forge
channel_targets:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/osx_arm64_openssl1.1.1.yaml
Expand Up @@ -3,7 +3,7 @@ MACOSX_DEPLOYMENT_TARGET:
c_compiler:
- clang
c_compiler_version:
- '13'
- '14'
channel_sources:
- conda-forge
channel_targets:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/osx_arm64_openssl3.yaml
Expand Up @@ -3,7 +3,7 @@ MACOSX_DEPLOYMENT_TARGET:
c_compiler:
- clang
c_compiler_version:
- '13'
- '14'
channel_sources:
- conda-forge
channel_targets:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/win_64_openssl1.1.1.yaml
@@ -1,5 +1,5 @@
c_compiler:
- vs2017
- vs2019
channel_sources:
- conda-forge
channel_targets:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/win_64_openssl3.yaml
@@ -1,5 +1,5 @@
c_compiler:
- vs2017
- vs2019
channel_sources:
- conda-forge
channel_targets:
Expand Down
3 changes: 2 additions & 1 deletion .circleci/config.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 8 additions & 1 deletion .scripts/build_steps.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .scripts/run_osx_build.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 22 additions & 8 deletions LICENSE.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 13 additions & 12 deletions README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 13 additions & 6 deletions build-locally.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 0 additions & 11 deletions recipe/bld.bat

This file was deleted.

17 changes: 0 additions & 17 deletions recipe/build.sh

This file was deleted.

20 changes: 20 additions & 0 deletions recipe/build_zchunk.bat
@@ -0,0 +1,20 @@
if "%PKG_NAME%" == "zchunk-static" (
set LIB_TYPE_ARGS="--default-library=static"
) else (
set LIB_TYPE_ARGS="--default-library=shared"
)

rd /s /q builddir

meson setup builddir ^
%MESON_ARGS% ^
%LIB_TYPE_ARGS% ^
--buildtype=release ^
--prefix=%LIBRARY_PREFIX% ^
-Dlibdir=lib

ninja -v -C builddir

ninja -C builddir test

ninja -C builddir install

0 comments on commit d5976ed

Please sign in to comment.