Lines Matching +full:- +full:f
1 # SPDX-FileCopyrightText: Copyright (c) 2017-2024, HONEE contributors.
2 # SPDX-License-Identifier: Apache-2.0 OR BSD-2-Clause
20 file.write(f"{variable}={value}\n")
24 file.write(f"{key}: {value}\n")
35 keywords['Cflags'] += f'-I{include_path} '
41 with torchCMakePath.open('r') as f:
42 for line in f:
51 keywords['Libs'] += f'-L{lib_path} '
52 keywords['Libs'] += '-lc10 -ltorch_cpu '
54 keywords['Libs'] += '-lc10_cuda -ltorch_cuda '
61 keywords['Libs'] += f'-Wl,--no-as-needed,"{torch_cuda_path.as_posix()}" '
62 keywords['Libs'] += '-ltorch '