Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[xla:cpu] Fix missing header in oneDNN ACL build #21191

Closed
wants to merge 1 commit into from

Conversation

cfRod
Copy link
Contributor

@cfRod cfRod commented Jan 9, 2025

Fixes build error

Compiling src/cpu/jit_utils/jit_utils.cpp failed: (Exit 1): clang failed: error executing command (from target @mkl_dnn_acl_compatible//:mkl_dnn_acl) /usr/lib/llvm-14/bin/clang -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wunused-but-set-parameter -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer -g0 ... (remaining 126 arguments skipped)
 
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
external/mkl_dnn_acl_compatible/src/cpu/jit_utils/jit_utils.cpp:34:10: fatal error: 'common/ittnotify/jitprofiling.h' file not found
#include "common/ittnotify/jitprofiling.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
INFO: Elapsed time: 524.121s, Critical Path: 452.78s
INFO: 543 processes: 45 internal, 498 linux-sandbox.
FAILED: Build did NOT complete successfully

Build step:
bazel build --config=mkl_aarch64_threadpool --test_output=all --spawn_strategy=sandboxed //xla/...

@cfRod
Copy link
Contributor Author

cfRod commented Jan 9, 2025

cc: @penpornk

copybara-service bot pushed a commit to google/tsl that referenced this pull request Jan 10, 2025
Imported from GitHub PR openxla/xla#21191

Fixes build error
```
Compiling src/cpu/jit_utils/jit_utils.cpp failed: (Exit 1): clang failed: error executing command (from target @mkl_dnn_acl_compatible//:mkl_dnn_acl) /usr/lib/llvm-14/bin/clang -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wunused-but-set-parameter -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer -g0 ... (remaining 126 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
external/mkl_dnn_acl_compatible/src/cpu/jit_utils/jit_utils.cpp:34:10: fatal error: 'common/ittnotify/jitprofiling.h' file not found
#include "common/ittnotify/jitprofiling.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
INFO: Elapsed time: 524.121s, Critical Path: 452.78s
INFO: 543 processes: 45 internal, 498 linux-sandbox.
FAILED: Build did NOT complete successfully
```
Build step:
bazel build --config=mkl_aarch64_threadpool --test_output=all --spawn_strategy=sandboxed //xla/...
Copybara import of the project:

--
23e8fadc3e88208219e685115435c40674efec43 by Crefeda Rodrigues <[email protected]>:

[xla:cpu] Fix missing headers in oneDNN ACL build

Signed-off-by: Crefeda Rodrigues <[email protected]>

Merging this change closes #21191

FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#21191 from cfRod:aarch64-xla-build 23e8fadc3e88208219e685115435c40674efec43
PiperOrigin-RevId: 713943675
copybara-service bot pushed a commit that referenced this pull request Jan 10, 2025
Imported from GitHub PR #21191

Fixes build error
```
Compiling src/cpu/jit_utils/jit_utils.cpp failed: (Exit 1): clang failed: error executing command (from target @mkl_dnn_acl_compatible//:mkl_dnn_acl) /usr/lib/llvm-14/bin/clang -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wunused-but-set-parameter -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer -g0 ... (remaining 126 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
external/mkl_dnn_acl_compatible/src/cpu/jit_utils/jit_utils.cpp:34:10: fatal error: 'common/ittnotify/jitprofiling.h' file not found
#include "common/ittnotify/jitprofiling.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
INFO: Elapsed time: 524.121s, Critical Path: 452.78s
INFO: 543 processes: 45 internal, 498 linux-sandbox.
FAILED: Build did NOT complete successfully
```
Build step:
bazel build --config=mkl_aarch64_threadpool --test_output=all --spawn_strategy=sandboxed //xla/...
Copybara import of the project:

--
23e8fad by Crefeda Rodrigues <[email protected]>:

[xla:cpu] Fix missing headers in oneDNN ACL build

Signed-off-by: Crefeda Rodrigues <[email protected]>

Merging this change closes #21191

FUTURE_COPYBARA_INTEGRATE_REVIEW=#21191 from cfRod:aarch64-xla-build 23e8fad
PiperOrigin-RevId: 713943675
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request Jan 10, 2025
Imported from GitHub PR openxla/xla#21191

Fixes build error
```
Compiling src/cpu/jit_utils/jit_utils.cpp failed: (Exit 1): clang failed: error executing command (from target @mkl_dnn_acl_compatible//:mkl_dnn_acl) /usr/lib/llvm-14/bin/clang -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wunused-but-set-parameter -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer -g0 ... (remaining 126 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
external/mkl_dnn_acl_compatible/src/cpu/jit_utils/jit_utils.cpp:34:10: fatal error: 'common/ittnotify/jitprofiling.h' file not found
#include "common/ittnotify/jitprofiling.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
INFO: Elapsed time: 524.121s, Critical Path: 452.78s
INFO: 543 processes: 45 internal, 498 linux-sandbox.
FAILED: Build did NOT complete successfully
```
Build step:
bazel build --config=mkl_aarch64_threadpool --test_output=all --spawn_strategy=sandboxed //xla/...
Copybara import of the project:

--
23e8fadc3e88208219e685115435c40674efec43 by Crefeda Rodrigues <[email protected]>:

[xla:cpu] Fix missing headers in oneDNN ACL build

Signed-off-by: Crefeda Rodrigues <[email protected]>

Merging this change closes #21191

FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#21191 from cfRod:aarch64-xla-build 23e8fadc3e88208219e685115435c40674efec43
PiperOrigin-RevId: 713943675
copybara-service bot pushed a commit that referenced this pull request Jan 10, 2025
Imported from GitHub PR #21191

Fixes build error
```
Compiling src/cpu/jit_utils/jit_utils.cpp failed: (Exit 1): clang failed: error executing command (from target @mkl_dnn_acl_compatible//:mkl_dnn_acl) /usr/lib/llvm-14/bin/clang -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wunused-but-set-parameter -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer -g0 ... (remaining 126 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
external/mkl_dnn_acl_compatible/src/cpu/jit_utils/jit_utils.cpp:34:10: fatal error: 'common/ittnotify/jitprofiling.h' file not found
#include "common/ittnotify/jitprofiling.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
INFO: Elapsed time: 524.121s, Critical Path: 452.78s
INFO: 543 processes: 45 internal, 498 linux-sandbox.
FAILED: Build did NOT complete successfully
```
Build step:
bazel build --config=mkl_aarch64_threadpool --test_output=all --spawn_strategy=sandboxed //xla/...
Copybara import of the project:

--
23e8fad by Crefeda Rodrigues <[email protected]>:

[xla:cpu] Fix missing headers in oneDNN ACL build

Signed-off-by: Crefeda Rodrigues <[email protected]>

Merging this change closes #21191

FUTURE_COPYBARA_INTEGRATE_REVIEW=#21191 from cfRod:aarch64-xla-build 23e8fad
PiperOrigin-RevId: 713943675
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request Jan 10, 2025
Imported from GitHub PR openxla/xla#21191

Fixes build error
```
Compiling src/cpu/jit_utils/jit_utils.cpp failed: (Exit 1): clang failed: error executing command (from target @mkl_dnn_acl_compatible//:mkl_dnn_acl) /usr/lib/llvm-14/bin/clang -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wunused-but-set-parameter -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer -g0 ... (remaining 126 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
external/mkl_dnn_acl_compatible/src/cpu/jit_utils/jit_utils.cpp:34:10: fatal error: 'common/ittnotify/jitprofiling.h' file not found
#include "common/ittnotify/jitprofiling.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
INFO: Elapsed time: 524.121s, Critical Path: 452.78s
INFO: 543 processes: 45 internal, 498 linux-sandbox.
FAILED: Build did NOT complete successfully
```
Build step:
bazel build --config=mkl_aarch64_threadpool --test_output=all --spawn_strategy=sandboxed //xla/...
Copybara import of the project:

--
23e8fadc3e88208219e685115435c40674efec43 by Crefeda Rodrigues <[email protected]>:

[xla:cpu] Fix missing headers in oneDNN ACL build

Signed-off-by: Crefeda Rodrigues <[email protected]>

Merging this change closes #21191

FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#21191 from cfRod:aarch64-xla-build 23e8fadc3e88208219e685115435c40674efec43
PiperOrigin-RevId: 713943675
copybara-service bot pushed a commit to google/tsl that referenced this pull request Jan 10, 2025
Imported from GitHub PR openxla/xla#21191

Fixes build error
```
Compiling src/cpu/jit_utils/jit_utils.cpp failed: (Exit 1): clang failed: error executing command (from target @mkl_dnn_acl_compatible//:mkl_dnn_acl) /usr/lib/llvm-14/bin/clang -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wunused-but-set-parameter -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer -g0 ... (remaining 126 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
external/mkl_dnn_acl_compatible/src/cpu/jit_utils/jit_utils.cpp:34:10: fatal error: 'common/ittnotify/jitprofiling.h' file not found
#include "common/ittnotify/jitprofiling.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
INFO: Elapsed time: 524.121s, Critical Path: 452.78s
INFO: 543 processes: 45 internal, 498 linux-sandbox.
FAILED: Build did NOT complete successfully
```
Build step:
bazel build --config=mkl_aarch64_threadpool --test_output=all --spawn_strategy=sandboxed //xla/...
Copybara import of the project:

--
23e8fadc3e88208219e685115435c40674efec43 by Crefeda Rodrigues <[email protected]>:

[xla:cpu] Fix missing headers in oneDNN ACL build

Signed-off-by: Crefeda Rodrigues <[email protected]>

Merging this change closes #21191

PiperOrigin-RevId: 714016521
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request Jan 10, 2025
Imported from GitHub PR openxla/xla#21191

Fixes build error
```
Compiling src/cpu/jit_utils/jit_utils.cpp failed: (Exit 1): clang failed: error executing command (from target @mkl_dnn_acl_compatible//:mkl_dnn_acl) /usr/lib/llvm-14/bin/clang -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wunused-but-set-parameter -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer -g0 ... (remaining 126 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
external/mkl_dnn_acl_compatible/src/cpu/jit_utils/jit_utils.cpp:34:10: fatal error: 'common/ittnotify/jitprofiling.h' file not found
#include "common/ittnotify/jitprofiling.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
INFO: Elapsed time: 524.121s, Critical Path: 452.78s
INFO: 543 processes: 45 internal, 498 linux-sandbox.
FAILED: Build did NOT complete successfully
```
Build step:
bazel build --config=mkl_aarch64_threadpool --test_output=all --spawn_strategy=sandboxed //xla/...
Copybara import of the project:

--
23e8fadc3e88208219e685115435c40674efec43 by Crefeda Rodrigues <[email protected]>:

[xla:cpu] Fix missing headers in oneDNN ACL build

Signed-off-by: Crefeda Rodrigues <[email protected]>

Merging this change closes #21191

PiperOrigin-RevId: 714016521
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.

2 participants