зеркало из https://github.com/microsoft/lisa.git
Updated gcc.py to enable gcc installation on FreeBSD (#3205)
* test channge for fixing gcc issue * changed azure.yml for TESTING * removed testing changes from azure.yml and old code from gcc.py * Removed gcc comment version * Removed testing changes
This commit is contained in:
Родитель
bb4d477171
Коммит
e741b4a7ea
|
@ -57,12 +57,7 @@ class Gcc(Tool):
|
|||
def _install(self) -> bool:
|
||||
posix_os: Posix = cast(Posix, self.node.os)
|
||||
if isinstance(posix_os, BSD):
|
||||
# Tools including sockperf need gcc11 on
|
||||
# FreeBSD to compile.
|
||||
posix_os.install_packages("gcc11-11.3.0_8")
|
||||
self.node.execute(
|
||||
"ln -s /usr/local/bin/gcc11 /usr/local/bin/gcc", sudo=True
|
||||
)
|
||||
posix_os.install_packages("lang/gcc")
|
||||
else:
|
||||
posix_os.install_packages("gcc")
|
||||
return self._check_exists()
|
||||
|
|
Загрузка…
Ссылка в новой задаче