Skip to content
Snippets Groups Projects
Commit fb95bb1c authored by Vincent Templier's avatar Vincent Templier
Browse files

Add CPU library in aidge package

parent 583d3d6d
No related branches found
No related tags found
No related merge requests found
......@@ -83,14 +83,14 @@ class CMakeBuild(build_ext):
shutil.copy(currentFile, str(aidge_package.absolute()))
# Get "aidge cpu" package
# ext_lib = build_temp / "_CPU"
# # Copy all shared object files from build_temp/lib to build_lib
# for root, _, files in os.walk(ext_lib.absolute()):
# for file in files:
# if file.endswith('.so'):
# currentFile=os.path.join(root, file)
# shutil.copy(currentFile, str(aidge_package.absolute()))
ext_lib = build_temp / "aidge" / "_CPU"
# Copy all shared object files from build_temp/lib to build_lib
for root, _, files in os.walk(ext_lib.absolute()):
for file in files:
if file.endswith('.so'):
currentFile=os.path.join(root, file)
shutil.copy(currentFile, str(aidge_package.absolute()))
if __name__ == '__main__':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment