Skip to content

Commit

Permalink
Merge pull request openucx#5 from TomAugspurger/listen-accept-future-…
Browse files Browse the repository at this point in the history
…cleanup

Cleanup setup scripts
  • Loading branch information
Akshay-Venkatesh authored Dec 18, 2018
2 parents b09baf3 + 59cdd0d commit 6a7117e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
*.*~
*.*~
pybind/build
pybind/call_myucp.c
pybind/call_myucp.*.so
pybind/*.a
pybind/*.o
3 changes: 1 addition & 2 deletions pybind/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
print("building libmyucp.a")
print("getcwd: " + str(os.getcwd()))
assert os.system("gcc -shared -fPIC -c myucp.c -o myucp.o") == 0
assert os.system("gcc -shared -fPIC -c myucp2.c -o myucp2.o") == 0
assert os.system("ar rcs libmyucp.a myucp.o myucp2.o") == 0
assert os.system("ar rcs libmyucp.a myucp.o") == 0
except:
if not os.path.exists("libmyucp.a"):
print("Error building external library, please create libmyucp.a manually.")
Expand Down

0 comments on commit 6a7117e

Please sign in to comment.