Skip to content

Commit

Permalink
chore!: Bumping version numbers to 0.1.0
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Version is being bumped to version 0.1.0a0 to target
PyTorch 1.6.0

Signed-off-by: Naren Dasan <[email protected]>
Signed-off-by: Naren Dasan <[email protected]>
  • Loading branch information
narendasan committed Aug 25, 2020
1 parent 50c7eda commit b84c90b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
4 changes: 2 additions & 2 deletions cpp/api/include/trtorch/macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
#define STR(x) XSTR(x)

#define TRTORCH_MAJOR_VERSION 0
#define TRTORCH_MINOR_VERSION 0
#define TRTORCH_PATCH_VERSION 3
#define TRTORCH_MINOR_VERSION 1
#define TRTORCH_PATCH_VERSION 0
#define TRTORCH_VERSION STR(TRTORCH_MAJOR_VERSION) \
"." STR(TRTORCH_MINOR_VERSION) \
"." STR(TRTORCH_PATCH_VERSION)
14 changes: 11 additions & 3 deletions py/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

dir_path = os.path.dirname(os.path.realpath(__file__))

__version__ = '0.0.3'
__version__ = '0.1.0a0'

CXX11_ABI = False

Expand Down Expand Up @@ -158,7 +158,8 @@ def run(self):
cpp_extension.CUDAExtension('trtorch._C',
['trtorch/csrc/trtorch_py.cpp'],
library_dirs=[
dir_path + '/trtorch/lib/'
(dir_path + '/trtorch/lib/'),
"/opt/conda/lib/python3.6/config-3.6m-x86_64-linux-gnu"
],
libraries=[
"trtorch"
Expand All @@ -176,7 +177,14 @@ def run(self):
"-Wno-deprecated-declarations",
"-Wl,--no-as-needed",
"-ltrtorch",
"-Wl,-rpath,$ORIGIN/lib"
"-Wl,-rpath,$ORIGIN/lib",
"-lpthread",
"-ldl",
"-lutil",
"-lrt",
"-lm",
"-Xlinker",
"-export-dynamic"
] + (["-D_GLIBCXX_USE_CXX11_ABI=1"] if CXX11_ABI else ["-D_GLIBCXX_USE_CXX11_ABI=0"]),
undef_macros=[ "NDEBUG" ]
)
Expand Down

0 comments on commit b84c90b

Please sign in to comment.