-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add nightly updates of BTFs #4
Conversation
brycekahle
commented
Jan 10, 2024
- ports debian, ubuntu, centos, fedora, and oracle from aquasecurity/btfhub
- adds Amazon Linux 1 and 2
FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix=/ | ||
make install | ||
|
||
- name: install newer 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.
Why do we need 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.
There are some cgo
parts in btfhub that need it.
steps: | ||
- name: Install needed amazon packages | ||
run: | | ||
yum install -y yum-utils wget tar gzip xz clang make cmake git libdwarf-devel elfutils-libelf-devel elfutils-devel |
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.
Version of clang does not matter for our usecase?
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.
It does, btfhub
doesn't compile with the older version of clang that is available via a yum
package, and conversely I was having trouble getting elfutils
and tar
building with the newer clang (probably because I did a manual install).