Skip to content

Commit

Permalink
Merge branch 'topic/bernardi/add-aarch64-freebsd-to-platform-db' into…
Browse files Browse the repository at this point in the history
… 'master'

Add aarch64-freebsd to platform knowledge base

See merge request it/e3-core!24
  • Loading branch information
burratoo committed Aug 9, 2024
2 parents 6feda9c + 975a296 commit 14087ea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/e3/platform_db/knowledge_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
PLATFORM_INFO: PlatformDBEntry = {
"aarch64-darwin": {"cpu": "aarch64", "os": "darwin", "is_hie": False},
"aarch64-elf": {"cpu": "aarch64", "os": "none", "is_hie": True},
"aarch64-freebsd": {"cpu": "aarch64", "os": "freebsd", "is_hie": False},
"aarch64-ios": {"cpu": "aarch64", "os": "ios", "is_hie": False},
"aarch64-linux": {"cpu": "aarch64", "os": "linux", "is_hie": False},
"arm-android": {"cpu": "arm", "os": "android", "is_hie": False},
Expand Down Expand Up @@ -118,6 +119,7 @@
BUILD_TARGETS: PlatformDBEntry = {
"aarch64-darwin": {"name": "aarch64-apple-darwin%(os_version)s"},
"aarch64-elf": {"name": "aarch64-elf"},
"aarch64-freebsd": {"name": "aarch64-freebsd%(os_version)s"},
"aarch64-ios": {"name": "aarch64-apple-darwin"},
"aarch64-linux": {"name": "aarch64-linux-gnu"},
"arm-android": {"name": "arm-linux-androideabi"},
Expand Down Expand Up @@ -160,6 +162,7 @@
HOST_GUESS: PlatformDBEntry = {
# platform : OS (uname[0]), machine (uname[1]), proc (uname[4 or 5])
"aarch64-darwin": {"os": "Darwin", "cpu": "arm64"},
"aarch64-freebsd": {"os": "FreeBSD", "cpu": "arm64"},
"aarch64-linux": {"os": "Linux", "cpu": "aarch64"},
"ppc-aix": {"os": "AIX", "cpu": None},
"x86_64-darwin": {"os": "Darwin", "cpu": "i386"},
Expand Down

0 comments on commit 14087ea

Please sign in to comment.