Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pmbootstrap
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexandre Messier
pmbootstrap
Commits
13d81543
Unverified
Commit
13d81543
authored
6 months ago
by
Jens Reidel
Browse files
Options
Downloads
Patches
Plain Diff
core: arch: Add ppc64le qemu mapping (MR 2476)
Signed-off-by:
Jens Reidel
<
adrian@travitia.xyz
>
parent
822e89ed
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pmb/core/arch.py
+1
-0
1 addition, 0 deletions
pmb/core/arch.py
pmb/core/test_arch.py
+1
-1
1 addition, 1 deletion
pmb/core/test_arch.py
with
2 additions
and
1 deletion
pmb/core/arch.py
+
1
−
0
View file @
13d81543
...
...
@@ -108,6 +108,7 @@ class Arch(enum.Enum):
Arch
.
x86
:
"
i386
"
,
Arch
.
armhf
:
"
arm
"
,
Arch
.
armv7
:
"
arm
"
,
Arch
.
ppc64le
:
"
ppc64
"
,
}
return
mapping
.
get
(
self
,
self
.
value
)
...
...
This diff is collapsed.
Click to expand it.
pmb/core/test_arch.py
+
1
−
1
View file @
13d81543
...
...
@@ -44,7 +44,7 @@ def test_valid_arches():
assert
Arch
.
armhf
.
qemu
()
==
"
arm
"
assert
Arch
.
armv7
.
qemu
()
==
"
arm
"
assert
Arch
.
ppc64
.
qemu
()
==
"
ppc64
"
assert
Arch
.
ppc64le
.
qemu
()
==
"
ppc64
le
"
assert
Arch
.
ppc64le
.
qemu
()
==
"
ppc64
"
# Check that Arch.cpu_emulation_required() works
assert
Arch
.
native
()
==
Arch
.
x86_64
or
Arch
.
x86_64
.
cpu_emulation_required
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment