Skip to content
Snippets Groups Projects
Commit 5fb82222 authored by Hans Fangohr's avatar Hans Fangohr
Browse files

Merge branch 'cache-microarch' into 'main'

Cache get_native_microarchitecture

Closes #20

See merge request !90
parents 38eb983c d516931e
No related branches found
No related tags found
1 merge request!90Cache get_native_microarchitecture
Pipeline #374547 passed
......@@ -16,6 +16,7 @@ from pathlib import Path
from typing import List, Tuple, Union
import re
import shutil
from functools import cache
# If 'rich' is available ("pip install rich" or "apt-get install python3-rich"),
# then use coloured output, otherwise proceed as before
......@@ -790,6 +791,7 @@ def prepare_environment(mpsd_release: str, root_dir: Path) -> List[str]:
return available_package_sets
@cache
def get_native_microarchitecture():
"""Return native microarchitecture.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment