Skip to content

Commit

Permalink
Merge pull request #436 from awslabs/thread-stack-size
Browse files Browse the repository at this point in the history
Thread stack size modification by cmake argument
  • Loading branch information
jdelapla authored Feb 28, 2024
2 parents f67f56c + ced3b72 commit 178b046
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMake/Dependencies/libkvspic-CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ ExternalProject_Add(libkvspic-download
BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/kvspic-build"
CMAKE_ARGS
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
-DKVS_DEFAULT_STACK_SIZE=${KVS_DEFAULT_STACK_SIZE}
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND ""
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ You can pass the following options to `cmake ..`.
* `-DALIGNED_MEMORY_MODEL` Build for aligned memory model only devices. Default is OFF.
* `-DLOCAL_OPENSSL_BUILD` Whether or not to use local OpenSSL build. Default is OFF.
* `-DCONSTRAINED_DEVICE` -- Change thread stack size to 0.5Mb, needed for Alpine.
* `-DKVS_DEFAULT_STACK_SIZE` -- Change thread stack size to given value, overrides CONSTRAINED_DEVICE flag


DMEMORY_SANITIZER, DTHREAD_SANITIZER etc. flags works only with clang compiler
Expand Down

0 comments on commit 178b046

Please sign in to comment.