mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-26 10:11:27 +00:00
This is the big change !!!! Instead of handling target as primary object and prepare/build targets, we are handling build steps. A build step may be a source (preparation) or a build (of the source). Actualy, a step is a tuple (context, Builder or Source). The context define the context of the step. It can be : - 'source', for a Source step - 'neutral' or the name of a platform for Build step. Target becomes a "Class only" class.
17 lines
360 B
Python
17 lines
360 B
Python
from .base import PlatformInfo
|
|
|
|
|
|
class NativePlatformInfo(PlatformInfo):
|
|
build = 'native'
|
|
|
|
|
|
class NativeDyn(NativePlatformInfo):
|
|
name = 'native_dyn'
|
|
static = False
|
|
compatible_hosts = ['fedora', 'debian', 'Darwin']
|
|
|
|
class NativeStatic(NativePlatformInfo):
|
|
name = 'native_static'
|
|
static = True
|
|
compatible_hosts = ['fedora', 'debian']
|