Skip to content

Commit

Permalink
#4252: skim down boost headers to ~26M
Browse files Browse the repository at this point in the history
  • Loading branch information
vtangTT committed May 29, 2024
1 parent 98e587a commit 773fd56
Show file tree
Hide file tree
Showing 2,500 changed files with 2 additions and 53,859 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ CHECK_COMPILERS()
############################################################################################################################
# Find all required libraries to build
############################################################################################################################
# find_package(Boost REQUIRED COMPONENTS thread filesystem system regex)
find_package(GTest REQUIRED)
find_package (Python3 COMPONENTS Interpreter Development)

Expand Down Expand Up @@ -121,7 +120,7 @@ endif()

add_library(metal_header_directories INTERFACE)
target_include_directories(metal_header_directories INTERFACE ${CMAKE_SOURCE_DIR}/tt_metal/hw/inc
${CMAKE_SOURCE_DIR}/tt_metal/third_party/boost/headers
${CMAKE_SOURCE_DIR}/tt_metal/third_party
)
if ("$ENV{ARCH_NAME}" STREQUAL "wormhole_b0")
target_include_directories(metal_header_directories INTERFACE tt_metal/hw/inc/wormhole
Expand Down
2 changes: 1 addition & 1 deletion cmake/umd_device.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ set(LDFLAGS_ "-L${CMAKE_BINARY_DIR}/lib -Wl,-rpath,${CMAKE_BINARY_DIR}/lib ${CON
set(SHARED_LIB_FLAGS_ "-shared -fPIC")
set(STATIC_LIB_FLAGS_ "-fPIC")

set (CMAKE_CXX_FLAGS_ "--std=c++17 -fvisibility-inlines-hidden -I${CMAKE_SOURCE_DIR}/tt_metal/third_party/boost/headers")
set (CMAKE_CXX_FLAGS_ "--std=c++17 -fvisibility-inlines-hidden -I${CMAKE_SOURCE_DIR}/tt_metal/third_party")

# This will build the shared library libdevice.so in build/lib where tt_metal can then find and link it
include(ExternalProject)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 773fd56

Please sign in to comment.