Skip to content

Commit

Permalink
💚 Repair CI (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
burgholzer authored Aug 12, 2022
1 parent 408fb3d commit 05e28ee
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,10 @@ def build_extension(self, ext):
if not os.path.exists(self.build_temp):
os.makedirs(self.build_temp)
else:
os.remove(os.path.join(self.build_temp, "CMakeCache.txt"))
try:
os.remove(os.path.join(self.build_temp, "CMakeCache.txt"))
except OSError:
pass
subprocess.check_call(["cmake", ext.sourcedir] + cmake_args, cwd=self.build_temp)
subprocess.check_call(
["cmake", "--build", ".", "--target", ext.name] + build_args,
Expand Down

0 comments on commit 05e28ee

Please sign in to comment.