Skip to content

Commit a439349

Browse files
committed
flexus: update to a compile-able Flexus
1 parent e78a175 commit a439349

File tree

5 files changed

+19
-20
lines changed

5 files changed

+19
-20
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
[submodule "qemu"]
66
path = qemu
77
url = git@github.com:branylagaffe/qemu.git
8-
branch = feat/savevm-external
8+
branch = master

build

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@ cmake ${FLEXUS_ROOT} \
1515
-DBUILD_DEBUG=yes
1616

1717
cmake \
18-
--build ${SIM}
18+
--build ${SIM} \
19+
-j4

flexus

qemu

Submodule qemu updated from 270ffae to 7ebdef7

runq

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,24 @@
88
# | | | |_| | | | | |_| |
99
# |_| _\__,_|_| |_|\__\_\_____ __ __ _ _
1010
# | |_| |__ ___ / _ \| ____| \/ | | | | _ __ _ _ _ __ _ __ ___ _ __
11+
#
12+
# ___
13+
# _ __ _ _ _ __ / _ \
14+
# | '__| | | | '_ \| | | |
15+
# | | | |_| | | | | |_| |
16+
# |_| _\__,_|_| |_|\__\_\_____ __ __ _ _
17+
# | |_| |__ ___ / _ \| ____| \/ | | | | _ __ _ _ _ __ _ __ ___ _ __
1118
# | __| '_ \ / _ \ | | | | _| | |\/| | | | | | '__| | | | '_ \| '_ \ / _ \ '__|
1219
# | |_| | | | __/ | |_| | |___| | | | |_| | | | | |_| | | | | | | | __/ |
1320
# \__|_| |_|\___| \__\_\_____|_| |_|\___/ |_| \__,_|_| |_|_| |_|\___|_|
1421
#
1522
#
1623
#
24+
# | |_| | | | __/ | |_| | |___| | | | |_| | | | | |_| | | | | | | | __/ |
25+
# \__|_| |_|\___| \__\_\_____|_| |_|\___/ |_| \__,_|_| |_|_| |_|\___|_|
26+
#
27+
#
28+
#
1729
# Add argument with +
1830
# Remove argument with -
1931
# Avoid using the pre-configured arguments by prefixing nothing
@@ -144,6 +156,7 @@ def parse_config(file):
144156
def main(*opts):
145157
"""
146158
Get options from the command line, parse them and run the
159+
Get options from the command line, parse them and run the
147160
QEMU binaires using the computed argmuments
148161
"""
149162

@@ -168,16 +181,11 @@ def main(*opts):
168181
ARGS[op.lstrip("+")] = "1"
169182
continue
170183

184+
171185
if '=' in op :
172186
#! if this fail here, this mean that there was an '=' in the value (weird)
173187
key, value = op.lstrip("+").split('=')
174-
<<<<<<< Updated upstream
175188
ARGS[key] = value
176-
||||||| Stash base
177-
CONFIG[key] = value
178-
=======
179-
CONFIG[key] = value
180-
>>>>>>> Stashed changes
181189

182190

183191

@@ -186,19 +194,9 @@ def main(*opts):
186194
use_default_config:bool = real[0].startswith('-')
187195

188196
# Refactor the too greedy search function
189-
<<<<<<< Updated upstream
190197
config_file:str = find('emu' if use_default_config else real[0])
191198
qemu:str = find('qemu-aarch64')
192199

193-
||||||| Stash base
194-
config_file:str = find('emu' if use_default_config else real[0])
195-
qemu:str = find('qemu')
196-
=======
197-
config_file:str = find('emu' if use_default_config else real[0])
198-
qemu:str = find('qemu')
199-
>>>>>>> Stashed changes
200-
201-
202200
if not config_file or not qemu:
203201
print(f'config_file={config_file}')
204202
print(f'qemu_path={qemu}')

0 commit comments

Comments
 (0)