Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ project(tritonserver LANGUAGES C CXX)

include(CMakeDependentOption)

# Use C++17 standard as Triton's minimum required.
set(TRITON_MIN_CXX_STANDARD 17 CACHE STRING "The minimum C++ standard which features are requested to build this target.")
# Use C++20 standard as Triton's minimum required.
set(TRITON_MIN_CXX_STANDARD 20 CACHE STRING "The minimum C++ standard which features are requested to build this target.")

set(TRITON_VERSION "0.0.0" CACHE STRING "The version of the Triton shared library" )

Expand Down
8 changes: 4 additions & 4 deletions qa/L0_sdk/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ client_lib=$(pwd)/triton_client/lib
client_inc=$(pwd)/triton_client/include

# Test linking against the shared library
g++ grpc_test.cc -o grpc_test -I$client_inc -L$client_lib -lgrpcclient
g++ -std=gnu++20 grpc_test.cc -o grpc_test -I$client_inc -L$client_lib -lgrpcclient

if [ $? -eq 0 ]; then
if [[ ! -x "./grpc_test" ]]; then
Expand All @@ -82,7 +82,7 @@ fi

grpc_static_libs="-Wl,--start-group $client_lib/*.a -Wl,--end-group"

g++ grpc_test.cc $grpc_static_libs -o grpc_test_static -I$client_inc -lz -lssl -lcrypto -lpthread
g++ -std=gnu++20 grpc_test.cc $grpc_static_libs -o grpc_test_static -I$client_inc -lz -lssl -lcrypto -lpthread

if [ $? -eq 0 ]; then
if [[ ! -x "./grpc_test_static" ]]; then
Expand All @@ -107,7 +107,7 @@ fi
#

# Test linking against the shared library
g++ http_test.cc -o http_test -I$client_inc -L$client_lib -lhttpclient
g++ -std=gnu++20 http_test.cc -o http_test -I$client_inc -L$client_lib -lhttpclient

if [ $? -eq 0 ]; then
if [[ ! -x "./http_test" ]]; then
Expand All @@ -127,7 +127,7 @@ else
RET=1
fi

g++ http_test.cc $client_lib/libhttpclient_static.a $client_lib/libcurl.a -o http_test_static \
g++ -std=gnu++20 http_test.cc $client_lib/libhttpclient_static.a $client_lib/libcurl.a -o http_test_static \
-I$client_inc -lz -lssl -lcrypto -lpthread

if [ $? -eq 0 ]; then
Expand Down
Loading