Skip to content
Snippets Groups Projects

Cache get_native_microarchitecture

Merged Ashwin Kumar Karnad requested to merge cache-microarch into main
1 file
+ 2
0
Compare changes
  • Side-by-side
  • Inline
@@ -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.
Loading