Skip to content

Commit

Permalink
Updated nlohmann-json to nlohmann-json3
Browse files Browse the repository at this point in the history
Signed-off-by: Andriy Kokhan <[email protected]>
  • Loading branch information
andriy-kokhan committed Jun 25, 2023
1 parent 9ff95de commit 3568e27
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dockerfiles/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ RUN echo "#mock" > /ptf/ptf && pip3 install /ptf

# Install SAI attributes metadata JSON generator
COPY scripts/gen_attr_list /sai/gen_attr_list
RUN apt-get install -y nlohmann-json-dev
RUN apt-get install -y nlohmann-json3-dev

# Install SAI-C dependencies
RUN pip3 install pytest pytest_dependency pytest-html aenum pdbpp macaddress click==8.0
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/Dockerfile.client
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RUN apt-get -o Acquire::Check-Valid-Until=false update && apt-get install -y \
doxygen \
aspell \
git \
nlohmann-json-dev \
nlohmann-json3-dev \
python3-paramiko

WORKDIR /sai
Expand Down
2 changes: 1 addition & 1 deletion scripts/gen_attr_list/generate_attrs.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <iostream>
#include <saimetadata.h>
#include <algorithm>
#include <json.hpp>
#include <nlohmann/json.hpp>
#include <map>

constexpr const char *const undefined = "undefined";
Expand Down

0 comments on commit 3568e27

Please sign in to comment.