Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
leeopop committed Feb 19, 2024
1 parent 7a4a716 commit 0fbeba0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt update && sudo apt install -y linux-headers-generic build-essential libnuma-dev git meson python3-pyelftools curl libclang-dev clang llvm-dev
sudo apt update && sudo apt install -y linux-headers-generic build-essential libnuma-dev git meson python3-pyelftools curl libclang-dev clang llvm-dev libbsd-dev
- name: Install DPDK
run: |
wget -O dpdk.tar.xz https://fast.dpdk.org/rel/dpdk-${DPDK_VERSION}.tar.xz
Expand Down
5 changes: 3 additions & 2 deletions dpdk-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ impl State {
continue 'outer;
}
}
println!("cargo:warning=header-name: {}", file_name);
// println!("cargo:warning=header-name: {}", file_name);
new_vec.push(file.clone());
}
new_vec.sort_by(|left, right| {
Expand Down Expand Up @@ -843,11 +843,12 @@ impl State {
.clang_arg(dpdk_config_path.to_str().unwrap())
.clang_arg("-march=native")
.clang_arg("-Wno-everything")
.clang_arg("-DALLOW_INTERNAL_API") // We will not use internal API, but it is necessary to generate bindings.
.opaque_type("vmbus_bufring")
.opaque_type("rte_avp_desc")
.opaque_type("rte_.*_hdr")
.opaque_type("rte_arp_ipv4")
.blocklist_function("_*")
.opaque_type("__*")
.generate()
.unwrap()
.write_to_file(target_path)
Expand Down

0 comments on commit 0fbeba0

Please sign in to comment.