Skip to content

Commit

Permalink
define CHENAB_SAI_SDK while building FBOSS for CHENAB sdk
Browse files Browse the repository at this point in the history
Summary:
as titled

this is to indicate the build is using CHENAB_SAI_SDK implementation

Reviewed By: srikrishnagopu

Differential Revision: D66845304

fbshipit-source-id: 8ed546350f6c549b8e5ba1120ebb25913f3e1816
  • Loading branch information
Parvez Shaikh authored and facebook-github-bot committed Dec 6, 2024
1 parent 7a15cc6 commit 33e8994
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ if ($ENV{CHENAB_SAI_SDK})
set (CHENAB_SAI_SDK ON)
link_directories(/var/FBOSS/sai_impl/lib)
link_directories(/var/FBOSS/sdk/usr/lib64)
add_definitions (-DCHENAB_SAI_SDK)
endif()

option(BUILD_SAI_FAKE_LINK_TEST "Building of SAI Fake Link Test binaries" OFF)
Expand Down

0 comments on commit 33e8994

Please sign in to comment.