forked from facebook/fboss
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request facebook#41 from adamcalabrigo/fb_upstream_6_28_2023
Fb upstream 6 28 2023
- Loading branch information
Showing
397 changed files
with
86,005 additions
and
4,670 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Subproject commit 80f3aefac8793930ae34f54bfd7e2e2933bdbb0f | ||
Subproject commit 0ff1d7478155b55926ff2dd8ae4b3e2d500e40bc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Subproject commit 1b7cd10340f565d7fa3fd4f78d6faf14605d77b2 | ||
Subproject commit 066724c012853a7f29f3bb8853543f3a5b5c48e9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Subproject commit 4675e2631e3f41dc76d109bbf1a3e218b7abcde3 | ||
Subproject commit 3a48d0c4d65fd0ed90f7dcbe8c6756fc01ba496d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[manifest] | ||
name = benchmark | ||
|
||
[download] | ||
url = https://github.com/google/benchmark/archive/refs/tags/v1.8.0.tar.gz | ||
sha256 = ea2e94c24ddf6594d15c711c06ccd4486434d9cf3eca954e2af8a20c88f9f172 | ||
|
||
[build] | ||
builder = cmake | ||
subdir = benchmark-1.8.0/ | ||
|
||
[cmake.defines] | ||
BENCHMARK_ENABLE_TESTING=OFF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
[manifest] | ||
name = zstrong | ||
|
||
[git] | ||
repo_url = https://github.com/facebookincubator/zstrong.git | ||
|
||
[build] | ||
builder = cmake | ||
|
||
[dependencies] | ||
zstd | ||
|
||
[dependencies.test=on] | ||
benchmark | ||
fmt | ||
googletest | ||
|
||
[shipit.pathmap] | ||
fbcode/data_compression/experimental/zstrong = . | ||
|
||
[shipit.strip] | ||
^fbcode/data_compression/experimental/zstrong/zstrong/zs2_config\.h$ | ||
|
||
[cmake.defines] | ||
BUILD_SHARED_LIBS=OFF | ||
|
||
[cmake.defines.test=on] | ||
BUILD_TESTS=ON | ||
BUILD_BENCHMARKS=ON | ||
|
||
[cmake.defines.test=off] | ||
BUILD_TESTS=OFF | ||
BUILD_BENCHMARKS=OFF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# CMake to build libraries and binaries in fboss/agent/platforms/common/meru800bia | ||
|
||
# In general, libraries and binaries in fboss/foo/bar are built by | ||
# cmake/FooBar.cmake | ||
|
||
add_library(meru800bfa_platform_mapping | ||
fboss/agent/platforms/common/meru800bfa/Meru800bfaPlatformMapping.cpp | ||
) | ||
|
||
target_link_libraries(meru800bfa_platform_mapping | ||
platform_mapping | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -161,3 +161,7 @@ target_link_libraries(fpga_device | |
fboss_types | ||
Folly::folly | ||
) | ||
|
||
add_library(pci_access | ||
fboss/lib/PciAccess.cpp | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# Make to build libraries and binaries in fboss/platform/platform_manager | ||
|
||
# In general, libraries and binaries in fboss/foo/bar are built by | ||
# cmake/FooBar.cmake | ||
|
||
add_fbthrift_cpp_library( | ||
platform_manager_snapshot_cpp2 | ||
fboss/platform/platform_manager/platform_manager_snapshot.thrift | ||
OPTIONS | ||
json | ||
reflection | ||
) | ||
|
||
add_fbthrift_cpp_library( | ||
platform_manager_presence_cpp2 | ||
fboss/platform/platform_manager/platform_manager_presence.thrift | ||
OPTIONS | ||
json | ||
reflection | ||
) | ||
|
||
add_fbthrift_cpp_library( | ||
platform_manager_config_cpp2 | ||
fboss/platform/platform_manager/platform_manager_config.thrift | ||
OPTIONS | ||
json | ||
reflection | ||
DEPENDS | ||
platform_manager_presence_cpp2 | ||
) | ||
|
||
add_fbthrift_cpp_library( | ||
platform_manager_service_cpp2 | ||
fboss/platform/platform_manager/platform_manager_service.thrift | ||
SERVICES | ||
PlatformManagerService | ||
OPTIONS | ||
json | ||
reflection | ||
DEPENDS | ||
platform_manager_snapshot_cpp2 | ||
) | ||
|
||
add_executable(platform_manager | ||
fboss/platform/platform_manager/Main.cpp | ||
fboss/platform/platform_manager/PlatformExplorer.cpp | ||
fboss/platform/platform_manager/PlatformI2cExplorer.cpp | ||
fboss/platform/platform_manager/PlatformValidator.cpp | ||
fboss/platform/platform_manager/PlatformManagerHandler.cpp | ||
) | ||
|
||
target_link_libraries(platform_manager | ||
fb303::fb303 | ||
platform_config_lib | ||
platform_utils | ||
platform_manager_config_cpp2 | ||
platform_manager_presence_cpp2 | ||
platform_manager_service_cpp2 | ||
platform_manager_snapshot_cpp2 | ||
) | ||
|
||
install(TARGETS platform_manager) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.