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

Add nightly updates of BTFs #4

Merged
merged 14 commits into from
Jan 11, 2024
Merged

Add nightly updates of BTFs #4

merged 14 commits into from
Jan 11, 2024

Conversation

brycekahle
Copy link
Member

  • ports debian, ubuntu, centos, fedora, and oracle from aquasecurity/btfhub
  • adds Amazon Linux 1 and 2

@brycekahle brycekahle requested a review from a team January 10, 2024 21:06
FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix=/
make install

- name: install newer clang

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?

Copy link
Member Author

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

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?

Copy link
Member Author

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).

@brycekahle brycekahle merged commit 56a0c31 into main Jan 11, 2024
3 checks passed
@brycekahle brycekahle deleted the bryce.kahle/dd-amazon-cron branch January 11, 2024 18:07
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.

2 participants