Skip to content

Commit

Permalink
Fix compilation warning. Remove utilities in vineyard store ffi. (#861)
Browse files Browse the repository at this point in the history
* Fix compiler warnings. Remove vineyard loader/reader that are no longer
used.

Changes to be committed:
	modified:   CMakeLists.txt
	modified:   global_store_ffi.cc
	deleted:    htap_loader.cc
	deleted:    htap_reader.c
	deleted:    htap_stream_generator.cc
	deleted:    htap_stream_loader.cc
	modified:   property_graph_stream.cc
	modified:   property_graph_stream.h

* Remove htap_mc_reader, which is no longer used.

Changes to be committed:
	modified:   ../CMakeLists.txt
	deleted:    ../htap_mc_reader.c
  • Loading branch information
zhiminch authored Sep 27, 2021
1 parent 7981847 commit f47e019
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 1,322 deletions.
19 changes: 0 additions & 19 deletions interactive_engine/src/executor/runtime/native/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,25 +61,6 @@ if(BUILD_SHARED_LIBS)
install_vineyard_target(native_store)
endif()

add_executable(vineyard_htap_reader htap_reader.c)
target_link_libraries(vineyard_htap_reader native_store ${VINEYARD_LIBRARIES} Threads::Threads)
install_vineyard_target(vineyard_htap_reader)

add_executable(vineyard_htap_mc_reader htap_mc_reader.c)
target_link_libraries(vineyard_htap_mc_reader native_store ${VINEYARD_LIBRARIES} Threads::Threads)
install_vineyard_target(vineyard_htap_mc_reader)

add_executable(vineyard_htap_loader htap_loader.cc)
target_include_directories(vineyard_htap_loader PRIVATE ${VINEYARD_INCLUDE_DIRS})
target_link_libraries(vineyard_htap_loader native_store ${VINEYARD_LIBRARIES} Threads::Threads)
install_vineyard_target(vineyard_htap_loader)

add_executable(vineyard_htap_stream_loader htap_stream_loader.cc)
target_include_directories(vineyard_htap_stream_loader PRIVATE ${VINEYARD_INCLUDE_DIRS})
target_link_libraries(vineyard_htap_stream_loader native_store ${VINEYARD_LIBRARIES} Threads::Threads)
install_vineyard_target(vineyard_htap_stream_loader)

add_executable(vineyard_htap_stream_generator htap_stream_generator.cc)
target_include_directories(vineyard_htap_stream_generator PRIVATE ${VINEYARD_INCLUDE_DIRS})
target_link_libraries(vineyard_htap_stream_generator native_store ${VINEYARD_LIBRARIES} Threads::Threads)
install_vineyard_target(vineyard_htap_stream_generator)
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ PartitionId get_partition_id(GraphHandle graph, VertexId v) {
htap_impl::GraphHandleImpl* casted_graph =
static_cast<htap_impl::GraphHandleImpl*>(graph);

int fid = casted_graph->vid_parser.GetFid((htap_impl::VID_TYPE)v);
auto fid = casted_graph->vid_parser.GetFid((htap_impl::VID_TYPE)v);
LabelId label_id =
casted_graph->vid_parser.GetLabelId((htap_impl::VID_TYPE)v);
htap_impl::VID_TYPE offset =
Expand Down
100 changes: 0 additions & 100 deletions interactive_engine/src/executor/runtime/native/htap_loader.cc

This file was deleted.

223 changes: 0 additions & 223 deletions interactive_engine/src/executor/runtime/native/htap_mc_reader.c

This file was deleted.

Loading

0 comments on commit f47e019

Please sign in to comment.