Build only libzim (and dependencies on Windows)
This commit is contained in:
parent
d4aa0090c5
commit
9b4f64c4af
|
@ -21,6 +21,11 @@ BUILD_DEF = """
|
||||||
| bionic | native_mixed | BP | | | | | linux-x86_64-bionic | |
|
| bionic | native_mixed | BP | | | | | linux-x86_64-bionic | |
|
||||||
| bionic | aarch64_mixed | BP | | | | | linux-aarch64-bionic | |
|
| bionic | aarch64_mixed | BP | | | | | linux-aarch64-bionic | |
|
||||||
----------------------------------------------------------------------------------------------------------------------------------------------
|
----------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
# On Windows, we build only libzim for now. And only native_mixed as xapian doesn't compile as dll
|
||||||
|
| windows | native_static | Bd | | | | | win-x86_64 | |
|
||||||
|
| windows | native_dyn | Bd | | | | | win-x86_64 | |
|
||||||
|
| windows | native_mixed | BPd | | | | | win-x86_64 | |
|
||||||
|
----------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
# Osx builds, build binaries on native_dyn and native_static. On anyother things, build only the libraries
|
# Osx builds, build binaries on native_dyn and native_static. On anyother things, build only the libraries
|
||||||
| macos | native_dyn | d | d | dB | B | | | macos-x86_64-dyn |
|
| macos | native_dyn | d | d | dB | B | | | macos-x86_64-dyn |
|
||||||
| macos | native_static | | | BP | BP | | macos-x86_64 | |
|
| macos | native_static | | | BP | BP | | macos-x86_64 | |
|
||||||
|
|
|
@ -13,6 +13,8 @@ class AllBaseDependencies(Dependency):
|
||||||
class Builder(NoopBuilder):
|
class Builder(NoopBuilder):
|
||||||
@classmethod
|
@classmethod
|
||||||
def get_dependencies(cls, configInfo, allDeps):
|
def get_dependencies(cls, configInfo, allDeps):
|
||||||
|
if neutralEnv("distname") == "Windows":
|
||||||
|
return ["zlib", "lzma", "zstd", "icu4c"]
|
||||||
if configInfo.build == "wasm" or environ.get("OS_NAME") == "bionic":
|
if configInfo.build == "wasm" or environ.get("OS_NAME") == "bionic":
|
||||||
return ["zlib", "lzma", "zstd", "icu4c", "xapian-core"]
|
return ["zlib", "lzma", "zstd", "icu4c", "xapian-core"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue