Wasm support! And optional definitive names
This commit is contained in:
@@ -26,11 +26,13 @@ class Platform(Enum):
|
||||
LINUX_x86 = PlatformInfo("linux", "clang", "x86", "", "-DSPEC_LINUX")
|
||||
LINUX_x86_64_V4 = PlatformInfo("linux", "clang", "x86-64-v4", "", "-DSPEC_LINUX")
|
||||
MACOS = PlatformInfo("macos", "gcc", "arm", "", "-DSPEC_DARWIN")
|
||||
WASM = PlatformInfo("wasm", "emcc", "", "", "-DSPEC_WASM")
|
||||
|
||||
@dataclass
|
||||
class Build:
|
||||
name: str
|
||||
type: BuildType
|
||||
platform: PlatformInfo
|
||||
definitive_name: str = field(default_factory=str)
|
||||
additional_instructions: List[str] = field(default_factory=list)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user