From b7cb8e6383cdea4ef0ee6ecb67bda147d3ec2f77 Mon Sep 17 00:00:00 2001 From: Rod Vagg Date: Wed, 3 Jun 2026 14:03:01 +1000 Subject: [PATCH] chore: avoid opencl in curio build --- src/commands/build/docker.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/commands/build/docker.rs b/src/commands/build/docker.rs index 078cb975..70e656d1 100644 --- a/src/commands/build/docker.rs +++ b/src/commands/build/docker.rs @@ -139,9 +139,11 @@ pub fn setup_build_script( container_source_dir, container_source_dir, container_output_dir ), Project::Curio => format!( + // FFI_USE_OPENCL=1: curio main requires CUDA or OpenCL for libfilecoin; + // the builder image ships OpenCL, and this flag also skips the supraseal dep. r#"git config --global --add safe.directory {} && \ cd {} && \ - make clean 2k pdptool && \ + make FFI_USE_OPENCL=1 clean 2k pdptool && \ cp curio sptool pdptool {}"#, container_source_dir, container_source_dir, container_output_dir ),