Skip to content

Commit

Permalink
Revert "Make uv and nng private and static (#323)" (#336)
Browse files Browse the repository at this point in the history
This reverts commit 0a41bf5.

### Issue
No issue

### Description
This change broke tt-metal build.
post commit workflow failing:
https://github.com/tenstorrent/tt-metal/actions/runs/12031721201
post commit workflow on this branch:
https://github.com/tenstorrent/tt-metal/actions/runs/12032379476/job/33545486354
blackhole post-commit failing:
https://github.com/tenstorrent/tt-metal/actions/runs/12031811999
blackhole post-commit on this branch:
https://github.com/tenstorrent/tt-metal/actions/runs/12032509241

### List of the changes
- git revert 0a41bf5

### Testing
see description

### API Changes
-
  • Loading branch information
broskoTT authored Nov 26, 2024
1 parent 71f8fd6 commit db8a0d5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
10 changes: 2 additions & 8 deletions cmake/dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ function(fetch_dependencies)
GITHUB_REPOSITORY nanomsg/nng
GIT_TAG v1.8.0
OPTIONS
"BUILD_SHARED_LIBS ON"
"NNG_TESTS OFF"
"NNG_TOOLS OFF"
)
Expand Down Expand Up @@ -96,14 +97,7 @@ function(fetch_dependencies)
############################################################################################################################
# libuv (for process management)
############################################################################################################################
CPMAddPackage(
NAME libuv
GITHUB_REPOSITORY libuv/libuv
GIT_TAG v1.48.0
OPTIONS
"LIBUV_BUILD_TESTS OFF"
"LIBUV_BUILD_SHARED OFF"
)
CPMAddPackage(NAME libuv GITHUB_REPOSITORY libuv/libuv GIT_TAG v1.48.0 OPTIONS "LIBUV_BUILD_TESTS OFF")

############################################################################################################################
# fmt : https://github.com/fmtlib/fmt
Expand Down
5 changes: 3 additions & 2 deletions device/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,16 @@ target_include_directories(
)

# flatbuffers is public - exposed to tt_metal by tt_simulation_device_generated.h
# nng is public - exposed to tt_metal by tt_simulation_host.hpp
target_link_libraries(
device
PUBLIC
nng
flatbuffers
uv
PRIVATE
hwloc
nng
rt
uv_a
Boost::interprocess
fmt::fmt-header-only
yaml-cpp::yaml-cpp
Expand Down
1 change: 0 additions & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ target_link_libraries(
gtest
pthread
fmt::fmt-header-only
nng
)
target_include_directories(
test_common
Expand Down

0 comments on commit db8a0d5

Please sign in to comment.