Skip to content

Commit a9da65c

Browse files
authored
[BACKEND] [BUILD] Fix iluvatar build in editable mode (#167)
* [BACKEND] [BUILD] Fix iluvatar build in editable mode * [BUILD] Add filelock to requirements
1 parent 5aa6d63 commit a9da65c

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

python/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ wheel
44
GitPython
55
pytest
66
scipy
7+
filelock

third_party/iluvatar/CMakeLists.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@ add_compile_options("-Wno-deprecated-declarations")
22
add_compile_options("-Wno-error=deprecated-declarations")
33

44
option(EDITABLE_MODE "Build in developer (editable) mode" OFF)
5-
if(EDITABLE_MODE)
6-
set(ILUVATAR_PLUGIN_DIR "${CMAKE_CURRENT_SOURCE_DIR}")
7-
else()
8-
set (ILUVATAR_PLUGIN_DIR "${Python3_SITELIB}/triton/_C")
9-
endif()
5+
set (ILUVATAR_PLUGIN_DIR "${Python3_SITELIB}/triton/_C")
106
if(TRITON_BUILD_PYTHON_MODULE)
117
if(FLAGTREE_PLUGIN)
128
add_subdirectory(plugin)

0 commit comments

Comments
 (0)