Try to foce inject simde into rocr-runtime
Build AMD TheRock for RX 7900 XTX (ARM64 Alpine) / build (push) Failing after 55m29s
Build AMD TheRock for RX 7900 XTX (ARM64 Alpine) / build (push) Failing after 55m29s
This commit is contained in:
1 parent
9ae6d44c10
commit
4849f1eea3
9 files changed
+44
-9
No files matched your search
+25
@@ -0,0 +1,25 @@
|
||||
/third-party/sysdeps/linux/amd-mesa/CMakeLists.txt
|
||||
/third-party/sysdeps/linux/libdrm/CMakeLists.txt
|
||||
/third-party/sysdeps/linux/libpciaccess/CMakeLists.txt
|
||||
#Remove this line
|
||||
-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/version.lds
|
||||
|
||||
|
||||
/core/CMakeLists.txt
|
||||
# This provides the precise parent boundary path for <simde/x86/immintrin.h>
|
||||
"-DCMAKE_CXX_FLAGS=-I${CMAKE_BINARY_DIR}/third-party/simde/source"
|
||||
"-DCMAKE_C_FLAGS=-I${CMAKE_BINARY_DIR}/third-party/simde/source"
|
||||
|
||||
|
||||
/rocm-systems/projects/rocr-runtime/runtime/hsa-runtime/core/inc/amd_gpu_agent.h
|
||||
/rocm-systems/projects/rocr-runtime/runtime/hsa-runtime/core/inc/signal.h
|
||||
/rocm-systems/projects/rocr-runtime/runtime/hsa-runtime/core/util/atomic_helpers.h
|
||||
/rocm-systems/projects/rocr-runtime/runtime/hsa-runtime/core/util/locks.h
|
||||
/rocm-systems/projects/rocr-runtime/runtime/hsa-runtime/core/util/utils.h
|
||||
|
||||
#if defined(__aarch64__) && defined(__linux__)
|
||||
#ifndef SIMDE_ENABLE_NATIVE_ALIASES
|
||||
#define SIMDE_ENABLE_NATIVE_ALIASES
|
||||
#endif
|
||||
#include <simde/x86/immintrin.h>
|
||||
#endif
|
||||
@@ -128,6 +128,9 @@ if(_therock_enable_hsa_runtime)
|
||||
"${_system_toolchain}"
|
||||
CMAKE_ARGS
|
||||
"-DBUILD_SHARED_LIBS=ON"
|
||||
# This provides the precise parent boundary path for <simde/x86/immintrin.h>
|
||||
"-DCMAKE_CXX_FLAGS=-I${CMAKE_BINARY_DIR}/third-party/simde/source"
|
||||
"-DCMAKE_C_FLAGS=-I${CMAKE_BINARY_DIR}/third-party/simde/source"
|
||||
BUILD_DEPS
|
||||
amd-llvm
|
||||
therock-simde
|
||||
|
||||
@@ -117,9 +117,6 @@ RUN env INSTALL_PREFIX=/usr/local ./dockerfiles/install_pinned_patchelf.sh && \
|
||||
-DTHEROCK_ENABLE_SYSDEPS=ON \
|
||||
-DTHEROCK_BUILD_SYSDEPS=ON \
|
||||
-DCMAKE_INSTALL_PREFIX=./install && \
|
||||
sed -i 's|-Wl,--version-script=\${CMAKE_CURRENT_SOURCE_DIR}/version.lds||' /build/therock/third-party/sysdeps/linux/amd-mesa/CMakeLists.txt && \
|
||||
sed -i 's|-Wl,--version-script=\${CMAKE_CURRENT_SOURCE_DIR}/version.lds||' /build/therock/third-party/sysdeps/linux/libdrm/CMakeLists.txt && \
|
||||
sed -i 's|-Wl,--version-script=\${CMAKE_CURRENT_SOURCE_DIR}/version.lds||' /build/therock/third-party/sysdeps/linux/libpciaccess/CMakeLists.txt && \
|
||||
cmake --build build --parallel 1
|
||||
# Work in progress [ Breaking due to x86 intrinsics not ported to Aarch64 ]
|
||||
|
||||
|
||||
@@ -69,8 +69,10 @@
|
||||
#include "pcs/pcs_runtime.h"
|
||||
#include "core/inc/counted_queue_manager.h"
|
||||
|
||||
#if defined(__aarch64__)
|
||||
#if defined(__aarch64__) && defined(__linux__)
|
||||
#ifndef SIMDE_ENABLE_NATIVE_ALIASES
|
||||
#define SIMDE_ENABLE_NATIVE_ALIASES
|
||||
#endif
|
||||
#include <simde/x86/immintrin.h>
|
||||
#endif
|
||||
|
||||
|
||||
@@ -72,8 +72,10 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(__aarch64__)
|
||||
#if defined(__aarch64__) && defined(__linux__)
|
||||
#ifndef SIMDE_ENABLE_NATIVE_ALIASES
|
||||
#define SIMDE_ENABLE_NATIVE_ALIASES
|
||||
#endif
|
||||
#include <simde/x86/immintrin.h>
|
||||
#endif
|
||||
|
||||
|
||||
@@ -48,8 +48,10 @@
|
||||
#ifndef HSA_RUNTIME_CORE_UTIL_ATOMIC_HELPERS_H_
|
||||
#define HSA_RUNTIME_CORE_UTIL_ATOMIC_HELPERS_H_
|
||||
|
||||
#if defined(__aarch64__)
|
||||
#if defined(__aarch64__) && defined(__linux__)
|
||||
#ifndef SIMDE_ENABLE_NATIVE_ALIASES
|
||||
#define SIMDE_ENABLE_NATIVE_ALIASES
|
||||
#endif
|
||||
#include <simde/x86/immintrin.h>
|
||||
#endif
|
||||
|
||||
|
||||
@@ -48,8 +48,10 @@
|
||||
#include "utils.h"
|
||||
#include "os.h"
|
||||
|
||||
#if defined(__aarch64__)
|
||||
#if defined(__aarch64__) && defined(__linux__)
|
||||
#ifndef SIMDE_ENABLE_NATIVE_ALIASES
|
||||
#define SIMDE_ENABLE_NATIVE_ALIASES
|
||||
#endif
|
||||
#include <simde/x86/immintrin.h>
|
||||
#endif
|
||||
|
||||
|
||||
@@ -73,8 +73,10 @@
|
||||
#include "intrin.h"
|
||||
#endif
|
||||
|
||||
#if defined(__aarch64__)
|
||||
#if defined(__aarch64__) && defined(__linux__)
|
||||
#ifndef SIMDE_ENABLE_NATIVE_ALIASES
|
||||
#define SIMDE_ENABLE_NATIVE_ALIASES
|
||||
#endif
|
||||
#include <simde/x86/immintrin.h>
|
||||
#endif
|
||||
|
||||
|
||||
+1
-1
@@ -111,7 +111,7 @@ add_custom_target(
|
||||
# Step 3: Reconfigure meson to build from patched source
|
||||
# This ensures the build system uses the modified source files
|
||||
"${CMAKE_COMMAND}" -E env
|
||||
"LDFLAGS=-Wl,-rpath='$$ORIGIN' -Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/version.lds"
|
||||
"LDFLAGS=-Wl,-rpath='$$ORIGIN'"
|
||||
"CC=${_meson_cc}"
|
||||
"CXX=${_meson_cxx}"
|
||||
--
|
||||
|
||||
Reference in new issue
Block a user