Skip to content

Commit b84c90b

Browse files
committed
chore!: Bumping version numbers to 0.1.0
BREAKING CHANGE: Version is being bumped to version 0.1.0a0 to target PyTorch 1.6.0 Signed-off-by: Naren Dasan <naren@narendasan.com> Signed-off-by: Naren Dasan <narens@nvidia.com>
1 parent 50c7eda commit b84c90b

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

cpp/api/include/trtorch/macros.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
#define STR(x) XSTR(x)
2121

2222
#define TRTORCH_MAJOR_VERSION 0
23-
#define TRTORCH_MINOR_VERSION 0
24-
#define TRTORCH_PATCH_VERSION 3
23+
#define TRTORCH_MINOR_VERSION 1
24+
#define TRTORCH_PATCH_VERSION 0
2525
#define TRTORCH_VERSION STR(TRTORCH_MAJOR_VERSION) \
2626
"." STR(TRTORCH_MINOR_VERSION) \
2727
"." STR(TRTORCH_PATCH_VERSION)

py/setup.py

+11-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

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

19-
__version__ = '0.0.3'
19+
__version__ = '0.1.0a0'
2020

2121
CXX11_ABI = False
2222

@@ -158,7 +158,8 @@ def run(self):
158158
cpp_extension.CUDAExtension('trtorch._C',
159159
['trtorch/csrc/trtorch_py.cpp'],
160160
library_dirs=[
161-
dir_path + '/trtorch/lib/'
161+
(dir_path + '/trtorch/lib/'),
162+
"/opt/conda/lib/python3.6/config-3.6m-x86_64-linux-gnu"
162163
],
163164
libraries=[
164165
"trtorch"
@@ -176,7 +177,14 @@ def run(self):
176177
"-Wno-deprecated-declarations",
177178
"-Wl,--no-as-needed",
178179
"-ltrtorch",
179-
"-Wl,-rpath,$ORIGIN/lib"
180+
"-Wl,-rpath,$ORIGIN/lib",
181+
"-lpthread",
182+
"-ldl",
183+
"-lutil",
184+
"-lrt",
185+
"-lm",
186+
"-Xlinker",
187+
"-export-dynamic"
180188
] + (["-D_GLIBCXX_USE_CXX11_ABI=1"] if CXX11_ABI else ["-D_GLIBCXX_USE_CXX11_ABI=0"]),
181189
undef_macros=[ "NDEBUG" ]
182190
)

0 commit comments

Comments
 (0)