Skip to content

Commit 9459a29

Browse files
committed
fix xxhash not wanting to make wheels
1 parent 41b4727 commit 9459a29

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
"libbbf",
99
[
1010
"src/bindings.cpp",
11-
"src/libbbf.cpp",
12-
"src/xxhash.c", # Make sure you have this file!
11+
"src/libbbf.cpp"
1312
],
1413
include_dirs=["src"],
1514
cxx_std=17,

src/bbf_reader.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#pragma once
22
#include "libbbf.h"
3+
#define XXH_INLINE_ALL
34
#include "xxhash.h"
45
#include <string>
56
#include <vector>

src/libbbf.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include "libbbf.h"
2+
#define XXH_INLINE_ALL
23
#include "xxhash.h"
34

45
#include <iostream>

0 commit comments

Comments
 (0)