-
Notifications
You must be signed in to change notification settings - Fork 279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DEVOPS-135 Fix capnproto object/code mismatch in manylinux build #1030
Merged
vitaly-krugl
merged 11 commits into
numenta:master
from
vitaly-krugl:devops135-fix-futex-hang
Aug 12, 2016
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
b78a074
DEVOPS-135 Remove capnproto from python extensions shared libs in ord…
d69de99
DEVOPS-135 Implement a hacky work-around by preloading pycapnp's exte…
91042e4
Use library utils to correctly combine multiple static libraries into…
3de24d3
issue-1034 Reorganized build to link nupic_core static library tests …
9138342
Removed nupic_core_solo from installed targets, since it's only an in…
6477a1f
Try building nupic_core_solo intermediate static library without spec…
f48a84d
No need for custom target in CREATE_CAPNPC_COMMAND function, since
89f3696
Represent external build of capnproto as single static library with t…
56e8045
Completed wrapping of external static libs in `add_library` targets
f800e70
Work around issue in cmake 2.8.7: have external project AprUtil1Stati…
fd33070
Clean up in response to Scott's request to make another pass over my …
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -316,6 +316,7 @@ IF(UNIX AND CMAKE_COMPILER_IS_GNUCXX AND (NOT "${CMAKE_BUILD_TYPE}" STREQUAL "De | |
list(APPEND EXTERNAL_STATICLIB_CMAKE_DEFINITIONS_OPTIMIZED | ||
-DCMAKE_AR:PATH=gcc-ar | ||
-DCMAKE_RANLIB:PATH=gcc-ranlib) | ||
# And ditto for externals that use the configure-based build system | ||
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. I'm not sure what ditto is referring to. 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. ditto makes sense if you expand the code and look at the preceding statement's comment in the code. |
||
list(APPEND EXTERNAL_STATICLIB_CONFIGURE_DEFINITIONS_OPTIMIZED | ||
AR=gcc-ar | ||
RANLIB=gcc-ranlib) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Why remove this info? It seems useful to mention here
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.
The list was substantially incomplete and duplicates information documented elsewhere. When making changes in the underlying cmake modules, it's not obvious that you need to come back here and update the duplicated info. I will add a comment that will help the reader discover what those settings are.
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.
The problem is that things defined in one subdirectory (external) need to be used in another (src). That is a difficult relationship to figure out and it is enable in this file so I thought it would be nice to explicitly call out the items defined in external that we are intentionally exposed to src. And we don't have to include everything, just the things that we want src to know about. Perhaps this explanation could be converted into a better comment?