Commit 2501b652 authored by Ahmed Soliman's avatar Ahmed Soliman Committed by Facebook Github Bot

Add building bdist_wheel as part of the python build for folly

Summary: As per title

Reviewed By: MohamedBassem

Differential Revision: D18781525

fbshipit-source-id: a23d8207bd3776b55ba42ec87598a0a9375848aa
parent bdc1476f
......@@ -75,7 +75,14 @@ if (PYTHON_EXTENSIONS)
build_ext -f ${incs} ${libs}
BYPRODUCTS ${_cybld}/folly/executor_api.h
WORKING_DIRECTORY ${_cybld}
)
)
add_custom_command(TARGET folly_python_bindings POST_BUILD
COMMAND
python3 ${CMAKE_CURRENT_SOURCE_DIR}/python/setup.py
bdist_wheel
WORKING_DIRECTORY ${_cybld}
)
install(
FILES ${_cybld}/folly/executor_api.h
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment