Allow architecture selection

This commit is contained in:
Pavel Savchenko
2020-12-16 23:20:10 +00:00
parent 90a14b9dd2
commit ec99c01b2f
3 changed files with 46 additions and 11 deletions
+9
View File
@@ -121,7 +121,16 @@ class DependencyConstraints:
return f'{self.__class__.__name__}{self.base_file_path!r})'
class Architecture(str, Enum):
x86_64 = 'x86_64'
i686 = 'i686'
aarch64 = 'aarch64'
ppc64le = 'ppc64le'
s390x = 's390x'
class BuildOptions(NamedTuple):
architectures: List[Architecture]
package_dir: Path
output_dir: Path
build_selector: BuildSelector