[Mlir-commits] [mlir] [mlir][mesh] adding shard-size control (PR #98145)

LLVM Continuous Integration llvmlistbot at llvm.org
Sat Aug 10 18:45:27 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-arm64-windows-msvc-2stage` running on `linaro-armv8-windows-msvc-02` while building `mlir` at step 4 "build stage 1".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/124/builds/111

Here is the relevant piece of the build log for the reference:
```
Step 4 (build stage 1) failure: 'ninja' (failure)
...
[2156/8992] Building CXX object tools\clang\lib\ASTMatchers\CMakeFiles\obj.clangASTMatchers.dir\GtestMatchers.cpp.obj
[2157/8992] Building CXX object lib\Frontend\HLSL\CMakeFiles\LLVMFrontendHLSL.dir\HLSLResource.cpp.obj
[2158/8992] Building CXX object lib\Transforms\Instrumentation\CMakeFiles\LLVMInstrumentation.dir\AddressSanitizer.cpp.obj
[2159/8992] Building CXX object lib\Transforms\Instrumentation\CMakeFiles\LLVMInstrumentation.dir\BoundsChecking.cpp.obj
[2160/8992] Building CXX object lib\Transforms\Instrumentation\CMakeFiles\LLVMInstrumentation.dir\CGProfile.cpp.obj
[2161/8992] Building CXX object lib\Transforms\Instrumentation\CMakeFiles\LLVMInstrumentation.dir\ControlHeightReduction.cpp.obj
[2162/8992] Building CXX object lib\Transforms\Instrumentation\CMakeFiles\LLVMInstrumentation.dir\DataFlowSanitizer.cpp.obj
[2163/8992] Building CXX object lib\Transforms\Instrumentation\CMakeFiles\LLVMInstrumentation.dir\GCOVProfiling.cpp.obj
[2164/8992] Building CXX object lib\Transforms\Instrumentation\CMakeFiles\LLVMInstrumentation.dir\BlockCoverageInference.cpp.obj
[2165/8992] Building CXX object tools\mlir\lib\Dialect\Tensor\IR\CMakeFiles\obj.MLIRTensorDialect.dir\ShardingInterfaceImpl.cpp.obj
FAILED: tools/mlir/lib/Dialect/Tensor/IR/CMakeFiles/obj.MLIRTensorDialect.dir/ShardingInterfaceImpl.cpp.obj 
ccache C:\Users\tcwg\scoop\apps\llvm\current\bin\clang-cl.exe  /nologo -TP -DGTEST_HAS_RTTI=0 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc-2stage\stage1\tools\mlir\lib\Dialect\Tensor\IR -IC:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc-2stage\llvm\mlir\lib\Dialect\Tensor\IR -IC:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc-2stage\stage1\include -IC:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc-2stage\llvm\llvm\include -IC:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc-2stage\llvm\mlir\include -IC:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc-2stage\stage1\tools\mlir\include /DWIN32 /D_WINDOWS   /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4  -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported /Gw -Wundef -Werror=mismatched-tags -Werror=global-constructors /O2 /Ob2  -std:c++17 -MD  /EHs-c- /GR- -UNDEBUG /showIncludes /Fotools\mlir\lib\Dialect\Tensor\IR\CMakeFiles\obj.MLIRTensorDialect.dir\ShardingInterfaceImpl.cpp.obj /Fdtools\mlir\lib\Dialect\Tensor\IR\CMakeFiles\obj.MLIRTensorDialect.dir\ -c -- C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc-2stage\llvm\mlir\lib\Dialect\Tensor\IR\ShardingInterfaceImpl.cpp
In file included from C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc-2stage\llvm\mlir\lib\Dialect\Tensor\IR\ShardingInterfaceImpl.cpp:10:
In file included from C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc-2stage\llvm\mlir\include\mlir/Dialect/Mesh/Interfaces/ShardingInterface.h:12:
In file included from C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc-2stage\llvm\mlir\include\mlir/Dialect/Mesh/IR/MeshOps.h:12:
In file included from C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc-2stage\llvm\mlir\include\mlir/Bytecode/BytecodeOpInterface.h:17:
In file included from C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc-2stage\llvm\mlir\include\mlir/Bytecode/BytecodeImplementation.h:17:
In file included from C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc-2stage\llvm\mlir\include\mlir/IR/Attributes.h:12:
In file included from C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc-2stage\llvm\mlir\include\mlir/IR/AttributeSupport.h:16:
In file included from C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc-2stage\llvm\mlir\include\mlir/IR/MLIRContext.h:13:
In file included from C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc-2stage\llvm\mlir\include\mlir/Support/TypeID.h:20:
In file included from C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc-2stage\llvm\llvm\include\llvm/ADT/STLExtras.h:24:
In file included from C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc-2stage\llvm\llvm\include\llvm/ADT/iterator.h:12:
C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc-2stage\llvm\llvm\include\llvm/ADT/iterator_range.h(46,5): warning: '__GNUC__' is not defined, evaluates to 0 [-Wundef]
   46 | #if __GNUC__ == 7 || (__GNUC__ == 8 && __GNUC_MINOR__ < 4)
      |     ^
C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc-2stage\llvm\llvm\include\llvm/ADT/iterator_range.h(46,23): warning: '__GNUC__' is not defined, evaluates to 0 [-Wundef]
   46 | #if __GNUC__ == 7 || (__GNUC__ == 8 && __GNUC_MINOR__ < 4)
      |                       ^
In file included from C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc-2stage\llvm\mlir\lib\Dialect\Tensor\IR\ShardingInterfaceImpl.cpp:10:
In file included from C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc-2stage\llvm\mlir\include\mlir/Dialect/Mesh/Interfaces/ShardingInterface.h:12:
In file included from C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc-2stage\llvm\mlir\include\mlir/Dialect/Mesh/IR/MeshOps.h:12:
In file included from C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc-2stage\llvm\mlir\include\mlir/Bytecode/BytecodeOpInterface.h:17:
In file included from C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc-2stage\llvm\mlir\include\mlir/Bytecode/BytecodeImplementation.h:19:
In file included from C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc-2stage\llvm\mlir\include\mlir/IR/Dialect.h:17:
In file included from C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc-2stage\llvm\mlir\include\mlir/IR/OperationSupport.h:19:
C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc-2stage\llvm\mlir\include\mlir/IR/BuiltinAttributes.h(359,14): warning: 'complex' is deprecated: warning STL4037: The effect of instantiating the template std::complex for any type other than float, double, or long double is unspecified. You can define _SILENCE_NONFLOATING_COMPLEX_DEPRECATION_WARNING to suppress this warning. [-Wdeprecated-declarations]
  359 |       return {APFloat(*smt, value.real()), APFloat(*smt, value.imag())};
      |              ^
c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\complex(1302,5): note: 'complex' has been explicitly marked deprecated here
 1302 |     _DEPRECATE_NONFLOATING_COMPLEX
      |     ^
c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\yvals_core.h(1339,7): note: expanded from macro '_DEPRECATE_NONFLOATING_COMPLEX'
 1339 |     [[deprecated("warning STL4037: "                                                   \
      |       ^
In file included from C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc-2stage\llvm\mlir\lib\Dialect\Tensor\IR\ShardingInterfaceImpl.cpp:10:
C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc-2stage\llvm\mlir\include\mlir/Dialect/Mesh/Interfaces/ShardingInterface.h(84,10): fatal error: 'mlir/Dialect/Mesh/Interfaces/ShardingInterface.h.inc' file not found
   84 | #include "mlir/Dialect/Mesh/Interfaces/ShardingInterface.h.inc"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

```

https://github.com/llvm/llvm-project/pull/98145


More information about the Mlir-commits mailing list