@@ -48,7 +48,7 @@ RUN_TESTS_CMD := DD_SERVICE= DD_ENV= REPORT_EXIT_STATUS=1 TEST_PHP_SRCDIR=$(PROJ
4848
4949C_FILES = $(shell find components components-rs ext src/dogstatsd zend_abstract_interface -name '* .c' -o -name '* .h' | awk '{ printf "$(BUILD_DIR ) /% s\n", $$1 }' )
5050TEST_FILES = $(shell find tests/ext -name '* .php* ' -o -name '* .inc' -o -name '* .json' -o -name '* .yaml' -o -name 'CONFLICTS' | awk '{ printf "$(BUILD_DIR ) /% s\n", $$1 }' )
51- RUST_FILES = $(BUILD_DIR ) /Cargo.toml $(BUILD_DIR ) /Cargo.lock $(shell find components-rs -name '* .c' -o -name '* .rs' -o -name 'Cargo.toml' | awk '{ printf "$(BUILD_DIR ) /% s\n", $$1 }' ) $(shell find libdatadog/{build-common,datadog-ffe,datadog-ipc,datadog-ipc-macros,datadog-live-debugger,datadog-live-debugger-ffi,datadog-remote-config,datadog-sidecar,datadog-sidecar-ffi,datadog-sidecar-macros,libdd-alloc,libdd-common,libdd-common-ffi,libdd-crashtracker,libdd-crashtracker-ffi,libdd-data-pipeline,libdd-ddsketch,libdd-dogstatsd-client,libdd-library-config,libdd-library-config-ffi,libdd-log,libdd-libunwind-sys,libdd-telemetry,libdd-telemetry-ffi,libdd-tinybytes,libdd-trace-* ,spawn_worker,tools/{cc_utils,sidecar_mockgen},libdd-trace-* ,Cargo.toml} \( -type l -o -type f \) \( -path "*/src*" -o -path "*/examples*" -o -path "*Cargo.toml" -o -path "*/build.rs" -o -path "*/tests/dataservice.rs" -o -path "*/tests/service_functional.rs" \) -not -path "*/datadog-ipc/build.rs" -not -path "*/datadog-sidecar-ffi/build.rs")
51+ RUST_FILES = $(BUILD_DIR)/Cargo.toml $(BUILD_DIR)/Cargo.lock $(shell find components-rs -name '*.c' -o -name '*.rs' -o -name 'Cargo.toml' | awk '{ printf "$(BUILD_DIR)/%s\n", $$1 }' ) $(shell find libdatadog/{build-common,datadog-ffe,datadog-ipc,datadog-ipc-macros,datadog-live-debugger,datadog-live-debugger-ffi,datadog-remote-config,datadog-sidecar,datadog-sidecar-ffi,datadog-sidecar-macros,libdd-alloc,libdd-common,libdd-common-ffi,libdd-crashtracker,libdd-crashtracker-ffi,libdd-data-pipeline,libdd-ddsketch,libdd-dogstatsd-client,libdd-library-config,libdd-library-config-ffi,libdd-log,libdd-libunwind-sys,libdd-telemetry,libdd-telemetry-ffi,libdd-tinybytes,libdd-trace-*,spawn_worker,tools/{cc_utils,sidecar_mockgen},libdd-trace-*,Cargo.toml} \( -type l -o -type f \) \( -path "*/src*" -o -path "*/examples*" -o -path "*/libunwind*" -o -path "*Cargo.toml" -o -path "*/build.rs" -o -path "*/tests/dataservice.rs" -o -path "*/tests/service_functional.rs" \) -not -path "*/datadog-ipc/build.rs" -not -path "*/datadog-sidecar-ffi/build.rs")
5252ALL_OBJECT_FILES = $(C_FILES ) $(RUST_FILES ) $(BUILD_DIR ) /Makefile
5353TEST_OPCACHE_FILES = $(shell find tests/opcache -name '* .php* ' -o -name '.gitkeep' | awk '{ printf "$(BUILD_DIR ) /% s\n", $$1 }' )
5454TEST_STUB_FILES = $(shell find tests/ext -type d -name 'stubs' -exec find '{}' -type f \; | awk '{ printf "$(BUILD_DIR ) /% s\n", $$1 }' )
@@ -500,7 +500,9 @@ $(PACKAGES_BUILD_DIR)/datadog-setup.php: $(PACKAGES_BUILD_DIR)
500500 $(PACKAGES_BUILD_DIR )
501501
502502build_pecl_package :
503- echo $(subst $(BUILD_DIR ) /,,$(C_FILES ) $(RUST_FILES ) $(TEST_FILES ) $(TEST_STUB_FILES ) $(M4_FILES ) Cargo.lock) | tooling/bin/pecl-build
503+ $(file >.pecl-files,$(subst $(BUILD_DIR ) /,,$(C_FILES ) $(RUST_FILES ) $(TEST_FILES ) $(TEST_STUB_FILES ) $(M4_FILES ) Cargo.lock) )
504+ tooling/bin/pecl-build < .pecl-files
505+ @rm -f .pecl-files
504506
505507dbgsym.tar.gz : $(PACKAGES_BUILD_DIR )
506508 $(if $(DDTRACE_MAKE_PACKAGES_ASAN ) , , tar -zcf $(PACKAGES_BUILD_DIR ) /dd-library-php-$(VERSION ) _windows_debugsymbols.tar.gz ./extensions_x86_64_debugsymbols --owner=0 --group=0)
0 commit comments