File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -579,8 +579,21 @@ jobs:
579
579
run : rm -r ./build
580
580
581
581
# trying if pulling the dependency with tipi works properly
582
+ #
583
+ # note: the xxhashsum sources include xxhash using a #include "../xxhash.h"
584
+ # this defeats the purpose of this test AND becase a bug post tipi v0.0.35
585
+ # because of source mirroring (not) supporting relative include to locations
586
+ # outside of the project tree.
587
+ #
588
+ # because of this we create a copy of the ./cli and apply some sed magic
589
+ # to make the includes proper 'library' includes to simulate what someone
590
+ # consuming xxHash would do
591
+ #
592
+ # e.g. turning #include "../xxhash.h" => #include <xxhash.h>
582
593
- name : Build as dependency
583
594
run : |
584
- cd ./cli
595
+ cp -a ./cli ./cli-tipi
596
+ cd ./cli-tipi
597
+ find ./ -type f -iname "*.c" | xargs sed -i 's;"../xxhash.h";<xxhash.h>;g'
585
598
tipi . --dont-upgrade --verbose -t linux-cxx17
586
599
./build/linux-cxx17/bin/xsum_os_specific
Original file line number Diff line number Diff line change 1
1
{
2
- "Cyan4973/xxHash": { "@": "v0.8.1" }
2
+ "Cyan4973/xxHash": { }
3
3
}
You can’t perform that action at this time.
0 commit comments