Skip to content

Commit 3de80b8

Browse files
build xxhash from source
1 parent 96ed4a9 commit 3de80b8

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,13 +387,20 @@ jobs:
387387
;;
388388
389389
omnios)
390-
# libxxhash not available?
391-
sudo pkg install gcc13 git pkg-config python-313
390+
# libxxhash not available in pkg, building from source
391+
sudo pkg install gcc13 git pkg-config gmake python-313
392392
sudo ln -sf /usr/bin/python3.13 /usr/bin/python3
393393
sudo ln -sf /usr/bin/python3.13-config /usr/bin/python3-config
394394
sudo python3 -m ensurepip
395395
sudo python3 -m pip install virtualenv
396396
397+
# install libxxhash from source
398+
git clone --depth 1 https://github.com/Cyan4973/xxHash.git
399+
cd xxHash
400+
sudo gmake install
401+
cd ..
402+
export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:${PKG_CONFIG_PATH:-}"
403+
397404
python3 -m venv .venv
398405
. .venv/bin/activate
399406
python -V

0 commit comments

Comments
 (0)