-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Force static link to openblas on ci + add lapacke option for lapack #19174
Changes from all commits
03c1a30
9c64889
771aa74
e99e855
aeb71d6
23869f8
1145945
a6fa8f6
f367563
d185936
edc3232
29ef5a5
1f91ef3
ba07234
7536a22
2c21ad8
0334da5
8352de1
8deee80
4e4db41
4adb0f0
7c32fac
24917be
5c36610
3f0f283
3f6598e
060d393
b45fb19
a9bd8da
e68f283
0363264
6b060e2
5fee7be
5f6e3f2
5fbb42e
ac83cf2
5667e12
ebd9401
a7a4688
6251c61
ff6ad99
3edc2ce
3634c7d
365c8a0
9c29e7e
87b02e9
3f9182a
c750d38
8ba4542
8bd5fd1
6209fd4
91eeb40
11cc1db
319446b
903e7f8
7145cb4
632e63f
954fdcc
4918459
bfb230f
aa45882
4338440
cc5aa78
95e1d46
22ea5a2
6ecaf65
e0b864b
4f4fbd6
9a8cf5e
fa19b83
f022c8a
cd42232
7d8c26a
48bc8ea
e3b277d
bcd3818
bc7c1d5
96686a9
d3e793b
de78106
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -31,7 +31,8 @@ if [[ (! -e $DEPS_PATH/lib/libopenblas.a) ]]; then | |
| cd $DEPS_PATH/OpenBLAS-${OPENBLAS_VERSION} | ||
|
|
||
| # Adding NO_DYNAMIC=1 flag causes make install to fail | ||
| CFLAGS="-fPIC" CXXFLAGS="-fPIC" $MAKE DYNAMIC_ARCH=1 DYNAMIC_OLDER=1 USE_OPENMP=1 | ||
| CFLAGS="-fPIC" CXXFLAGS="-fPIC" $MAKE DYNAMIC_ARCH=1 DYNAMIC_OLDER=1 USE_OPENMP=1 \ | ||
| INTERFACE64=1 BINARY=64 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also past the output of
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also Why is it different from here? https://github.com/apache/incubator-mxnet/pull/19174/files#diff-5ccf6e661bf0b669dd4900b71d988c969259810a3bef5c5376a212f4080186fbR98
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Yeah I have confirmed the binaries with several builds. Here is one result: (ubuntu) Also I used I am forcing link to
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| patchelf --set-rpath '$ORIGIN' --force-rpath libopenblas.so | ||
|
|
||
| $MAKE PREFIX=$DEPS_PATH install | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the library path needed for clang?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah other wise it would not find gfortran