clang-cl 使用说明

clang-cl-3.8 -v (return code: 0)

clang version 3.8.0-2ubuntu4 (tags/RELEASE_380/final) Target: x86_64-pc-windows-msvc Thread model: posix InstalledDir: /usr/bin

clang-cl-3.8 -help (return code: 0)

OVERVIEW: clang LLVM compiler

USAGE: clang [options] <inputs>

CL.EXE COMPATIBILITY OPTIONS:
  /?                     Display available options
  /arch:<value>          Set architecture for code generation
  /Brepro-               Emit an object file which cannot be reproduced over time
  /Brepro                Emit an object file which can be reproduced over time
  /C                     Don't discard comments when preprocessing
  /c                     Compile only
  /D <macro[=value]>     Define macro
  /EH<value>             Exception handling model
  /EP                    Disable linemarker output and preprocess to stdout
  /E                     Preprocess to stdout
  /fallback              Fall back to cl.exe if clang-cl fails to compile
  /FA                    Output assembly code file during compilation
  /Fa<file or directory> Output assembly code to this file during compilation (with /FA)
  /Fe<file or directory> Set output executable file or directory (ends in / or \)
  /FI <value>            Include file before parsing
  /Fi<file>              Set preprocess output file name (with /P)
  /Fo<file or directory> Set output object file, or directory (ends in / or \) (with /c)
  /fp:except-            
  /fp:except             
  /fp:fast               
  /fp:precise            
  /fp:strict             
  /GA                    Assume thread-local variables are defined in the executable
  /GF-                   Disable string pooling
  /GR-                   Disable emission of RTTI data
  /GR                    Enable emission of RTTI data
  /Gs<value>             Set stack probe size
  /Gw-                   Don't put each data item in its own section
  /Gw                    Put each data item in its own section
  /Gy-                   Don't put each function in its own section
  /Gy                    Put each function in its own section
  /help                  Display available options
  /I <dir>               Add directory to include search path
  /J                     Make char type unsigned
  /LDd                   Create debug DLL
  /LD                    Create DLL
  /link <options>        Forward options to the linker
  /MDd                   Use DLL debug run-time
  /MD                    Use DLL run-time
  /MTd                   Use static debug run-time
  /MT                    Use static run-time
  /Ob0                   Disable inlining
  /Od                    Disable optimization
  /Oi-                   Disable use of builtin functions
  /Oi                    Enable use of builtin functions
  /Os                    Optimize for size
  /Ot                    Optimize for speed
  /O<value>              Optimization level
  /o <file or directory> Set output file or directory (ends in / or \)
  /P                     Preprocess to file
  /Qvec-                 Disable the loop vectorization passes
  /Qvec                  Enable the loop vectorization passes
  /showIncludes          Print info about included files to stderr
  /TC                    Treat all source files as C
  /Tc <filename>         Specify a C source file
  /TP                    Treat all source files as C++
  /Tp <filename>         Specify a C++ source file
  /U <macro>             Undefine macro
  /vd<value>             Control vtordisp placement
  /vmb                   Use a best-case representation method for member pointers
  /vmg                   Use a most-general representation for member pointers
  /vmm                   Set the default most-general representation to multiple inheritance
  /vms                   Set the default most-general representation to single inheritance
  /vmv                   Set the default most-general representation to virtual inheritance
  /volatile:iso          Volatile loads and stores have standard semantics
  /volatile:ms           Volatile loads and stores have acquire and release semantics
  /W0                    Disable all warnings
  /W1                    Enable -Wall
  /W2                    Enable -Wall
  /W3                    Enable -Wall
  /W4                    Enable -Wall and -Wextra
  /Wall                  Enable -Wall and -Wextra
  /WX-                   Do not treat warnings as errors
  /WX                    Treat warnings as errors
  /w                     Disable all warnings
  /Z7                    Enable CodeView debug information in object files
  /Zc:sizedDealloc-      Disable C++14 sized global deallocation functions
  /Zc:sizedDealloc       Enable C++14 sized global deallocation functions
  /Zc:strictStrings      Treat string literals as const
  /Zc:threadSafeInit-    Disable thread-safe initialization of static variables
  /Zc:threadSafeInit     Enable thread-safe initialization of static variables
  /Zc:trigraphs-         Disable trigraphs (default)
  /Zc:trigraphs          Enable trigraphs
  /Zi                    Alias for /Z7. Does not produce PDBs.
  /Zl                    Don't mention any default libraries in the object file
  /Zp                    Set the default maximum struct packing alignment to 1
  /Zp<value>             Specify the default maximum struct packing alignment
  /Zs                    Syntax-check only

OPTIONS:
  -###                    Print (but do not run) the commands to run for this compilation
  --analyze               Run the static analyzer
  -fansi-escape-codes     Use ANSI escape codes for diagnostics
  -fcolor-diagnostics     Use colors in diagnostics
  -fdiagnostics-parseable-fixits
                          Print fix-its in machine parseable form
  -fms-compatibility-version=<value>
                          Dot-separated value representing the Microsoft compiler version number to report in _MSC_VER (0 = don't define it (default))
  -fms-compatibility      Enable full Microsoft Visual C++ compatibility
  -fms-extensions         Accept some non-standard constructs supported by the Microsoft compiler
  -fmsc-version=<value>   Microsoft compiler version number to report in _MSC_VER (0 = don't define it (default))
  -fno-sanitize-coverage=<value>
                          Disable specified features of coverage instrumentation for Sanitizers
  -fno-sanitize-recover=<value>
                          Disable recovery for specified sanitizers
  -fno-sanitize-trap=<value>
                          Disable trapping for specified sanitizers
  -fsanitize-blacklist=<value>
                          Path to blacklist file for sanitizers
  -fsanitize-coverage=<value>
                          Specify the type of coverage instrumentation for Sanitizers
  -fsanitize-recover=<value>
                          Enable recovery for specified sanitizers
  -fsanitize-trap=<value> Enable trapping for specified sanitizers
  -fsanitize=<check>      Turn on runtime checks for various forms of undefined or suspicious behavior. See user manual for available checks
  -gcodeview              Generate CodeView debug information
  -mllvm <value>          Additional arguments to forward to LLVM's option processing
  -Qunused-arguments      Don't emit warning for unused driver arguments
  -R<remark>              Enable the specified remark
  --target=<value>        Generate code for the given target
  -v                      Show commands to run and use verbose output
  -W<warning>             Enable the specified warning
  -Xclang <arg>           Pass <arg> to the clang compiler

The Meson build system Version: 1.2.99 Source dir: C:\Users\KASQIEQ\AppData\Local\Temp\pip-install-ccq8rp53\numpy_87b151ff9dbd4ebdaef1b6b4bdba0f73 Build dir: C:\Users\KASQIEQ\AppData\Local\Temp\pip-install-ccq8rp53\numpy_87b151ff9dbd4ebdaef1b6b4bdba0f73\.mesonpy-8seqvon1 Build type: native build Project name: NumPy Project version: 1.26.4 WARNING: Failed to activate VS environment: Could not parse vswhere.exe output ..\meson.build:1:0: ERROR: Unknown compiler(s): [['icl'], ['cl'], ['cc'], ['gcc'], ['clang'], ['clang-cl'], ['pgcc']] The following exception(s) were encountered: Running `icl ""` gave "[WinError 2] 系统找不到指定的文件。" Running `cl /?` gave "[WinError 2] 系统找不到指定的文件。" Running `cc --version` gave "[WinError 2] 系统找不到指定的文件。" Running `gcc --version` gave "[WinError 2] 系统找不到指定的文件。" Running `clang --version` gave "[WinError 2] 系统找不到指定的文件。" Running `clang-cl /?` gave "[WinError 2] 系统找不到指定的文件。" Running `pgcc --version` gave "[WinError 2] 系统找不到指定的文件。" A full log can be found at C:\Users\KASQIEQ\AppData\Local\Temp\pip-install-ccq8rp53\numpy_87b151ff9dbd4ebdaef1b6b4bdba0f73\.mesonpy-8seqvon1\meson-logs\meson-log.txt [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details.
03-13
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

子燕若水

吹个大气球

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值