From 5913fa084b599c258a87d8b578ed0550f57dbaa0 Mon Sep 17 00:00:00 2001 From: Andrea Zonca Date: Wed, 15 May 2024 01:26:01 +0000 Subject: [PATCH] ci: temporarily grab development version of LayoutBuilder.h --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7828cba..330e06f 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,14 @@ compile_test: # define testcase environment variable cpp: $(foreach ksy,$(KSY),test_artifacts/$(ksy).cpp) -test_artifacts/lib%.so: test_artifacts/%.cpp $(BUILD) +inject_layoutbuilder: + # use a newer LayoutBuilder.h + # we need to trigger the compiler to prepare all the build files + # and then overwrite the header + PYTHONPATH=$$PYTHONPATH:local $(BUILD) test_artifacts/animal.cpp -b build + wget -O build/build/_deps/awkward-headers-src/layout-builder/awkward/LayoutBuilder.h https://github.com/scikit-hep/awkward/raw/fix_max_index_init/header-only/layout-builder/awkward/LayoutBuilder.h + +test_artifacts/lib%.so: test_artifacts/%.cpp $(BUILD) inject_layoutbuilder PYTHONPATH=$$PYTHONPATH:local $(BUILD) $< -b build $(BUILD): kaitai_struct_compiler/shared/src/main/scala/io/kaitai/struct/languages/AwkwardCompiler.scala