Skip to content

Commit

Permalink
Run setup.py too.
Browse files Browse the repository at this point in the history
  • Loading branch information
psyhtest authored and Brian C. Anderson committed Jul 11, 2019
1 parent 086fd30 commit ac9c42e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
loadgen/build/
libmlperf_loadgen.a
__pycache__/
generated/
3 changes: 3 additions & 0 deletions loadgen/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,8 @@ set(SOURCE
${CMAKE_CURRENT_SOURCE_DIR}/version.h
)

#execute_process(COMMAND python setup.py build
# WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})

add_library(mlperf_loadgen STATIC ${SOURCE})
target_link_libraries(mlperf_loadgen)
2 changes: 1 addition & 1 deletion loadgen/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ To build the loadgen as a C++ library, rather than a python module:

Alternatively:

git clone https://github.com/mlperf/inference.git mlperf_inference
git clone --recurse-submodules https://github.com/mlperf/inference.git mlperf_inference
cd mlperf_inference
mkdir loadgen/build/ && cd loadgen/build/
cmake .. && cmake --build .
Expand Down

0 comments on commit ac9c42e

Please sign in to comment.