Lines Matching refs:f

105 …lambda pkg, rev: f"https://github.com/boostorg/{pkg}/releases/download/{pkg}-{rev}/{pkg}-{rev}-cma…
111f" --prefix={prefix} --with-libraries=atomic,context,coroutine,filesystem,process,url"
114 f"./b2 install --prefix={prefix} valgrind=on",
120 build_steps=[f"cp -a include/cereal/ {prefix}/include/"],
128 url=lambda pkg, rev: f"https://github.com/DMTF/libspdm/archive/{rev}.tar.gz",
143 f"-DARCH={arch_mapping.get(__import__('platform').machine(), 'x64')}",
150 f"-DCOMPILED_LIBCRYPTO_PATH={prefix}/lib",
151 f"-DCOMPILED_LIBSSL_PATH={prefix}/lib",
177 f"mkdir {prefix}/include/function2",
178 f"cp include/function2/function2.hpp {prefix}/include/function2/",
202 f"ln -s {prefix}/include/nlohmann/json.hpp"
203 f" {prefix}/include/json.hpp"
230 …lambda pkg, rev: f"https://git.kernel.org/pub/scm/libs/{pkg}/{pkg}.git/snapshot/{pkg}-{rev}.tar.gz"
337 f"--prefix={prefix}",
344 f"-DCMAKE_INSTALL_PREFIX:PATH={prefix}",
352 f"-Dprefix={prefix}",
403 dockerfile = f"""
449 print(f"Package {t.package} failed!", file=sys.stderr)
485f'https://gerrit.openbmc.org/changes/?q=status:open+project:{self.package}+topic:"{gerrit_topic_es…
495f"{self.package} has more than 1 commit under {gerrit_topic}; using lastest upstream: {len(commits…
504 f"https://gerrit.openbmc.org/changes/{change_id}/revisions/current/commit"
511 f"Using {commit} from {gerrit_topic} for {self.package}",
519 f"Error loading topic {gerrit_topic} for {self.package}: ",
537 f"Found Gerrit revision for {self.package}: {gerrit_rev}",
545 "ls-remote", "--heads", f"https://github.com/{self.package}"
552 if re.fullmatch(f".*{branch}$", line.strip()):
574 return f"https://github.com/{self.package}/archive/{rev}.tar.gz"
582 f"Unhandled download type for {self.package}: {url}"
585 cmd = f"curl -L {url} | tar -x"
593 f"Unknown tar flags needed for {self.package}: {url}"
600 return f"cd {self.package.split('/')[-1]}*"
620 copy_cmds += f"COPY --from={tag} {prefix} {prefix}\n"
633 result = f"RUN {self._cmd_download()} && {self._cmd_cd_srcdir()} && "
656 f"Unhandled build type for {self.package}: {build_type}"
670 result += f"{env} ./configure {configure_flags} {options} && "
671 result += f"make -j{proc_count} && make install"
677 result = f"{env} ./autogen.sh {configure_flags} {options} && "
685 result += f"{env} cmake {cmake_flags} {options} .. && "
695 return f"make -j{proc_count} && make install"
700 result = f"{env} meson setup builddir {meson_flags} {options} && "
712 return f"{today[0]}-W{today[1]:02}"
736 f"Image {tag} already exists. Skipping.", file=sys.stderr
802 mirror = f"""
825 proxy_cmd = f"""
834 proxy_keyserver = f"--keyserver-options http-proxy={http_proxy}"
839 f"http_proxy={http_proxy}",
841 f"https_proxy={http_proxy}",
846 dockerfile_base = f"""
996 dockerfile_base += f"""
1033 dockerfile = f"""