Skip to content

Commit 04fa448

Browse files
LeslinDleslin2746
andauthored
Fix: Remove composable_kernel include from setup.py (#279)
Co-authored-by: leslin2746 <leslin1545452746@gmail.com>
1 parent 6d12674 commit 04fa448

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

setup.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -269,21 +269,6 @@ def run(self):
269269
if not os.path.exists(target_dir):
270270
os.makedirs(target_dir)
271271
shutil.copy2(source_dir, target_dir)
272-
# copy compoable kernel to the package directory
273-
CK_PREBUILD_ITEMS = [
274-
"3rdparty/composable_kernel",
275-
]
276-
for item in CK_PREBUILD_ITEMS:
277-
source_dir = os.path.join(ROOT_DIR, item)
278-
target_dir = os.path.join(self.build_lib, PACKAGE_NAME, item)
279-
if os.path.isdir(source_dir):
280-
self.mkpath(target_dir)
281-
distutils.dir_util.copy_tree(source_dir, target_dir)
282-
else:
283-
target_dir = os.path.dirname(target_dir)
284-
if not os.path.exists(target_dir):
285-
os.makedirs(target_dir)
286-
shutil.copy2(source_dir, target_dir)
287272

288273
# copy compoable kernel to the package directory
289274
CONFIG_ITEMS = ["VERSION", "README.md", "LICENSE"]

0 commit comments

Comments
 (0)