Skip to content

Commit

Permalink
[xnnpack] use assembly
Browse files Browse the repository at this point in the history
  • Loading branch information
luncliff committed Nov 9, 2024
1 parent 965d0e6 commit e1e294e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions ports/xnnpack/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ elseif(VCPKG_TARGET_IS_IOS)
list(APPEND PLATFORM_OPTIONS -DIOS_ARCH=${IOS_ARCH})
endif()

set(USE_ASSEMBLY true)
if(VCPKG_TARGET_IS_WINDOWS AND (VCPKG_TARGET_ARCHITECTURE MATCHES "arm"))
set(USE_ASSEMBLY false)
endif()

vcpkg_find_acquire_program(PYTHON3)
message(STATUS "Using python3: ${PYTHON3}")

Expand All @@ -56,7 +51,7 @@ vcpkg_cmake_configure(
"-DCPUINFO_SOURCE_DIR:PATH=${CURRENT_INSTALLED_DIR}"
"-DPTHREADPOOL_SOURCE_DIR:PATH=${CURRENT_INSTALLED_DIR}"
"-DFXDIV_SOURCE_DIR:PATH=${CURRENT_INSTALLED_DIR}"
-DXNNPACK_ENABLE_ASSEMBLY=${USE_ASSEMBLY}
-DXNNPACK_ENABLE_ASSEMBLY=ON
-DXNNPACK_ENABLE_MEMOPT=ON
-DXNNPACK_ENABLE_SPARSE=ON
-DXNNPACK_BUILD_TESTS=OFF
Expand Down

0 comments on commit e1e294e

Please sign in to comment.