Skip to content

Commit

Permalink
build: relocated src/cpu/aarch64/xbyak_aarch64 to third_party
Browse files Browse the repository at this point in the history
  • Loading branch information
vpirogov committed Jan 15, 2025
1 parent b2a9850 commit d4846fa
Show file tree
Hide file tree
Showing 26 changed files with 3 additions and 10 deletions.
9 changes: 1 addition & 8 deletions src/cpu/aarch64/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,6 @@ file(GLOB_RECURSE SOURCES
${CMAKE_CURRENT_SOURCE_DIR}/*.[ch]pp
)

file(GLOB XBYAK_AARCH64_FILES
${CMAKE_CURRENT_SOURCE_DIR}/xbyak_aarch64/src/xbyak_aarch64_impl.cpp
${CMAKE_CURRENT_SOURCE_DIR}/xbyak_aarch64/src/util_impl.cpp
)

list(REMOVE_ITEM SOURCES ${XBYAK_AARCH64_FILES})

if(NOT DNNL_AARCH64_USE_ACL)
file(GLOB_RECURSE ACL_FILES
${CMAKE_CURRENT_SOURCE_DIR}/acl_*.[ch]
Expand All @@ -49,4 +42,4 @@ add_library(${OBJ_LIB} OBJECT ${SOURCES})
set_property(GLOBAL APPEND PROPERTY DNNL_LIB_DEPS
$<TARGET_OBJECTS:${OBJ_LIB}>)

add_subdirectory(xbyak_aarch64)
add_subdirectory(${PROJECT_SOURCE_DIR}/third_party/xbyak_aarch64 xbyak_aarch64)
4 changes: 2 additions & 2 deletions src/cpu/aarch64/cpu_isa_traits.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
#define XBYAK_USE_MMAP_ALLOCATOR
#endif

#include "cpu/aarch64/xbyak_aarch64/xbyak_aarch64/xbyak_aarch64.h"
#include "cpu/aarch64/xbyak_aarch64/xbyak_aarch64/xbyak_aarch64_util.h"
#include "xbyak_aarch64/xbyak_aarch64/xbyak_aarch64.h"
#include "xbyak_aarch64/xbyak_aarch64/xbyak_aarch64_util.h"

namespace dnnl {
namespace impl {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit d4846fa

Please sign in to comment.