Skip to content

Commit

Permalink
2
Browse files Browse the repository at this point in the history
  • Loading branch information
acelyc111 committed Nov 30, 2023
1 parent 9dad0fc commit 941b9e2
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ function run_build()
if [ ! -z "${IWYU}" ]; then
make $MAKE_OPTIONS 2> iwyu.out
else
make dsn.replication.simple_kv $MAKE_OPTIONS
make pegasus_geo_bench $MAKE_OPTIONS
make install
fi
exit_if_fail $?
Expand Down
2 changes: 1 addition & 1 deletion src/client_lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# under the License.

# TODO(yingchun): should export shared lib too!!!
set(MY_PROJ_NAME "pegasus_client_static")
set(MY_PROJ_NAME pegasus_client_static)

add_definitions(-fPIC)

Expand Down
7 changes: 4 additions & 3 deletions src/geo/bench/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,14 @@ set(MY_SRC_SEARCH_MODE "GLOB")
set(MY_PROJ_LIBS
absl::flat_hash_set
absl::strings
pegasus_geo_lib
s2testing
s2
thrift
dsn_replication_common
pegasus_client_static
pegasus_geo_lib
RocksDB::rocksdb
dsn_utils
)
dsn_utils)

set(MY_BOOST_LIBS Boost::system Boost::filesystem)

Expand Down
2 changes: 1 addition & 1 deletion src/replica/storage/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

add_subdirectory(simple_kv)
#add_subdirectory(simple_kv)
2 changes: 2 additions & 0 deletions src/replica/storage/simple_kv/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ set(MY_SRC_SEARCH_MODE "GLOB")
set(MY_PROJ_LIBS
dsn_aio
dsn_http
dsn.block_service
dsn_dist_cmd
dsn_replica_server
dsn_meta_server
dsn_client
Expand Down
7 changes: 4 additions & 3 deletions src/sample/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@
# specific language governing permissions and limitations
# under the License.

set(MY_PROJ_NAME "sample")
set(MY_PROJ_NAME sample)

set(MY_SRC_SEARCH_MODE "GLOB")

# TODO(yingchun): should link pegasus_client shared lib only!
set(MY_PROJ_LIBS
pegasus_client_static
)
rocksdb
pegasus_client_static)

set(MY_BOOST_LIBS Boost::filesystem Boost::system)

Expand Down

0 comments on commit 941b9e2

Please sign in to comment.