build: Resolve app data dir and shared mem prefix at runtime

We really can't define them at compile time anymore as we build multiple
exes that depend on libspark in the same dir (e.g., spark api server,
pubsub, ds-publisher, webapp, etc.). That means one libspark.so (or dll)
must serve all exes. We should compile a consistent libspark to mitigate
the risk of running an exe with the wrong version (of libspark). For
example, running pubsub with a libspark configured for spark api server,
leftover from an earlier build.
This commit is contained in:
John Colvin committed 2024-09-18 14:02:38 +00:00
1 parent 1ce7ddd252
commit 103725887f
13 files changed
+107 -62

No files matched your search

@@ -104,6 +104,7 @@ function(get_cpp_sources dest)
md/SecurityOracle.cpp
md/SecurityStore.cpp
md/SettlementRecorder.cpp
md/ShmSegmentName.cpp
md/Shm/FixedSecurity.cpp
md/SyntheticSecurityService.cpp
md/cme/MDP3Utils.cpp