Skip to content
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

feat(ci): add package generation #592

Closed
wants to merge 26 commits into from

Conversation

@ghost ghost requested review from rajachan, bwbarrett and a team as code owners September 12, 2024 00:17
ghost pushed a commit that referenced this pull request Sep 12, 2024
stack-info: PR: #592, branch: aws-nslick/stack/33
@ghost ghost force-pushed the aws-nslick/stack/25 branch from f9ca2de to d56feba Compare September 12, 2024 00:17
@ghost ghost force-pushed the aws-nslick/stack/33 branch from 4b15a58 to 7f00b35 Compare September 12, 2024 00:17
Nicholas Sielicki added 22 commits September 13, 2024 10:48
stack-info: PR: #569, branch: aws-nslick/stack/16
Signed-off-by: Nicholas Sielicki <nslick@amazon.com>
cpp requires explicit cast to double here.

stack-info: PR: #573, branch: aws-nslick/stack/20
Signed-off-by: Nicholas Sielicki <nslick@amazon.com>
stack-info: PR: #570, branch: aws-nslick/stack/17
Signed-off-by: Nicholas Sielicki <nslick@amazon.com>
mr_key_size and eager_max_size are positive integers, avoid sign
comparison issues by treating them as such.

stack-info: PR: #571, branch: aws-nslick/stack/18
Signed-off-by: Nicholas Sielicki <nslick@amazon.com>
stack-info: PR: #575, branch: aws-nslick/stack/22
Signed-off-by: Nicholas Sielicki <nslick@amazon.com>
Previously, this used ~0 as the invalid signal. This defaults to a
signed type, which breaks under -wsign-compare. Prefer to use
COMM_ID_MASK as the marker.

stack-info: PR: #574, branch: aws-nslick/stack/21
Signed-off-by: Nicholas Sielicki <nslick@amazon.com>
Signed-off-by: Nicholas Sielicki <nslick@amazon.com>

stack-info: PR: #585, branch: aws-nslick/stack/27
Signed-off-by: Nicholas Sielicki <nslick@amazon.com>

stack-info: PR: #586, branch: aws-nslick/stack/28
stack-info: PR: #576, branch: aws-nslick/stack/23
Signed-off-by: Nicholas Sielicki <nslick@amazon.com>
const variables have internal linkage by default under c++; nvidia
interface requires it not be const because its modified during init.
Remove const for neuron, too.

stack-info: PR: #577, branch: aws-nslick/stack/24
Signed-off-by: Nicholas Sielicki <nslick@amazon.com>
Signed-off-by: Nicholas Sielicki <nslick@amazon.com>

stack-info: PR: #587, branch: aws-nslick/stack/29
Yet another autotools fix: If any warning/devel CFLAGS would invoke
warnings in headers used to detect dependencies, those dependencies will
fail with a highly misleading/confusing error message:

> configure: Found .git directory.  Adding -Werror to CFLAGS.
> checking if running on EC2 instance... yes
> checking if want AWS platform optimizations... yes
> checking for Libfabric 1.18.0 or later... no
> configure: error: On AWS platforms, Libfabric 1.18.0 or later is required

ie: it is not that Libfabric 1.18 was not found, it was that its headers
produced warnings. Fix this by resolving all dependencies before
modifying CFLAGS.

stack-info: PR: #589, branch: aws-nslick/stack/31
stack-info: PR: #593, branch: aws-nslick/stack/34
prefer `struct foo bar = {}' to `struct foo bar = { 0 }' to avoid
-Wmissing-field-initializers warnings.

stack-info: PR: #594, branch: aws-nslick/stack/35
commit ce214aa rearranged fields such that the written initializers were
valid on most modern compilers, but it went unnoticed that this is
insufficient for AL2's ancient toolchain, which fails with:

> sorry, unimplemented: non-trivial designated initializers not supported

provide all members for all entries to fix this.

stack-info: PR: #595, branch: aws-nslick/stack/36
Signed-off-by: Nicholas Sielicki <nslick@amazon.com>

stack-info: PR: #588, branch: aws-nslick/stack/30
stack-info: PR: #591, branch: aws-nslick/stack/32
stack-info: PR: #566, branch: aws-nslick/stack/13
Signed-off-by: Nicholas Sielicki <nslick@amazon.com>
stack-info: PR: #567, branch: aws-nslick/stack/14
Signed-off-by: Nicholas Sielicki <nslick@amazon.com>
All included headers are fully safe to be parsed as C++, so these unit
tests can now use C++. Rename them to `.cc' files and use a few c++
keywords to enforce that the compiler is actually treating them as such.
Actual C++ cleanups to follow later, hopefully alongside a unit test
framework like gtest or catch2.

stack-info: PR: #568, branch: aws-nslick/stack/15
Signed-off-by: Nicholas Sielicki <nslick@amazon.com>
As of this commit, a build with CFLAGS="-x c++" succeeds; ie: all source
files in the tree are both valid C++ source code AND valid C code.

Convert wcpp-compat distcheck builds to actually build with C++, to
prevent future pull requests from breaking C++ compatibility going
forward.

stack-info: PR: #578, branch: aws-nslick/stack/25
Signed-off-by: Nicholas Sielicki <nslick@amazon.com>
stack-info: PR: #592, branch: aws-nslick/stack/33
@ghost ghost changed the base branch from aws-nslick/stack/25 to master September 13, 2024 17:49
@ghost ghost force-pushed the aws-nslick/stack/33 branch from 6357799 to 83b3b05 Compare September 13, 2024 17:49
@ghost ghost changed the base branch from master to aws-nslick/stack/25 September 13, 2024 17:51
@ghost ghost force-pushed the aws-nslick/stack/25 branch from 3413c46 to e537a8d Compare September 14, 2024 22:37
@ghost ghost mentioned this pull request Sep 14, 2024
@ghost ghost deleted the branch aws-nslick/stack/25 September 27, 2024 00:55
@ghost ghost closed this Sep 27, 2024
@ghost ghost deleted the aws-nslick/stack/33 branch September 27, 2024 00:56
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants