Skip to content

Conversation

@hariharans29
Copy link
Member

No description provided.

@hariharans29 hariharans29 requested a review from a team as a code owner March 6, 2019 03:31
Copy link
Contributor

@snnn snnn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hariharans29 hariharans29 changed the title WIP: Support cross-compiling for ARM64 in ORT build scripts WIP: Support Windows cross-compiling for ARM in ORT build scripts Mar 7, 2019
@hariharans29 hariharans29 changed the title WIP: Support Windows cross-compiling for ARM in ORT build scripts WIP: Support Windows cross-compiling for ARM(64) in ORT build scripts Mar 7, 2019
@hariharans29 hariharans29 changed the title WIP: Support Windows cross-compiling for ARM(64) in ORT build scripts Support Windows cross-compiling for ARM(64) in ORT build scripts Mar 7, 2019
@hariharans29
Copy link
Member Author

if pb_home:
cmake_args += ["-DONNX_CUSTOM_PROTOC_EXECUTABLE=" + os.path.join(pb_home,'bin','protoc'), '-Donnxruntime_USE_PREBUILT_PB=ON']

if not pb_home and path_to_protoc_exe:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if pb_home:
   ...
else if ...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

snnn
snnn previously approved these changes Mar 8, 2019
snnn
snnn previously approved these changes Mar 8, 2019
@hariharans29 hariharans29 merged commit 867eda5 into master Mar 9, 2019
@hariharans29 hariharans29 deleted the arm64WindowsBuild branch March 9, 2019 01:42
xiaofeihan1 added a commit that referenced this pull request Jan 23, 2026
Some PRs that use core/common/inlined_containers.h can cause failures in
the CUDA CI pipeline.

```
E:\_work\_temp\build\RelWithDebInfo\vcpkg_installed\x64-windows-static-md\include\absl/hash/internal/hash.h(481): error #68-D: integer conversion resulted in a change of sign [E:\_work\_temp\build\RelWithDebInfo\onnxruntime_providers_cuda.vcxproj]
          sizeof(T) == -1,
                       ^
  Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"

E:\_work\_temp\build\RelWithDebInfo\vcpkg_installed\x64-windows-static-md\include\absl/hash/hash.h(337): error #549-D: variable "s" is used before its value is set [E:\_work\_temp\build\RelWithDebInfo\onnxruntime_providers_cuda.vcxproj]
        return s;
               ^
E:\_work\_temp\build\RelWithDebInfo\vcpkg_installed\x64-windows-static-md\include\absl/container/internal/raw_hash_set.h(468): error #69-D: integer conversion resulted in truncation [E:\_work\_temp\build\RelWithDebInfo\onnxruntime_providers_cuda.vcxproj]
          static_cast<uint16_t>(reinterpret_cast<uintptr_t>(&seed));
                      ^
  3 errors detected in the compilation of "E:/_work/onnxruntime/onnxruntime/onnxruntime/contrib_ops/cuda/sparse/block_mask.cu".
```

This change adds a patch to Abseil to mitigate those failures.


This solution has been verified to be effective in PR
#27087.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants