oneapi-src / oneDAL

oneAPI Data Analytics Library (oneDAL)
https://software.intel.com/en-us/oneapi/onedal
Apache License 2.0
617 stars 214 forks source link

How to get incremental builds working under bazel/make? #2944

Closed sterrettm2 closed 3 weeks ago

sterrettm2 commented 1 month ago

Summary I have been wanting to provide a contribution to oneDAL, but I have not been able to figure out how to get incremental builds working under either bazel/make. The make based build works for me, but doesn't seem to be able to do any kind of incremental build, requiring a full rebuild each time.

For building with bazel, I've tried to build the tests and figure out how to use it to build the project itself, but I've been getting this error:

Bazel Build Error ``` ERROR: /media/external/msterrett/sklearn/oneDAL/cpp/oneapi/dal/algo/kmeans/BUILD:7:11: Compiling cpp/oneapi/dal/algo/kmeans/train_types.cpp failed: absolute path inclusion(s) found in rule '//cpp/oneapi/dal/algo/kmeans:kmeans_dpc': the source file 'cpp/oneapi/dal/algo/kmeans/train_types.cpp' includes the following non-builtin files with absolute paths (if these are builtin files, make sure these paths are in your toolchain): '/opt/intel/oneapi/compiler/2024.2/include/sycl/sycl.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/accessor.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/access/access.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/defines_elementary.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/CL/__spirv/spirv_ops.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/CL/__spirv/spirv_types.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/defines.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/half_type.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/bit_cast.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/export.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/iostream_proxy.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/vector_traits.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/aspects.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/info/aspects.def' '/opt/intel/oneapi/compiler/2024.2/include/sycl/info/aspects_deprecated.def' '/opt/intel/oneapi/compiler/2024.2/include/sycl/aliases.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/atomic.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/helpers.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/pi.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/backend_types.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/os_util.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/pi.h' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/pi_error.def' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/pi.def' '/opt/intel/oneapi/compiler/2024.2/include/sycl/memory_enums.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/CL/__spirv/spirv_vars.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/multi_ptr.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/type_traits.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/generic_type_lists.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/type_list.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/boost/mp11/algorithm.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/boost/mp11/list.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/boost/mp11/integral.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/boost/mp11/version.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/boost/mp11/detail/mp_value.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/boost/mp11/detail/config.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/boost/mp11/detail/mp_list.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/boost/mp11/detail/mp_list_v.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/boost/mp11/detail/mp_is_list.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/boost/mp11/detail/mp_is_value_list.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/boost/mp11/detail/mp_front.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/boost/mp11/detail/mp_rename.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/boost/mp11/detail/mp_defer.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/boost/mp11/detail/mp_append.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/boost/mp11/detail/mp_count.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/boost/mp11/detail/mp_plus.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/boost/mp11/utility.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/boost/mp11/detail/mp_fold.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/boost/mp11/set.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/boost/mp11/function.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/boost/mp11/detail/mp_min_element.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/boost/mp11/detail/mp_void.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/boost/mp11/detail/mp_copy_if.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/boost/mp11/detail/mp_remove_if.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/boost/mp11/detail/mp_map_find.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/boost/mp11/detail/mp_with_index.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/boost/mp11/integer_sequence.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/bfloat16.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/buffer.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/context.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/async_handler.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/info_desc_helpers.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/id.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/array.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/exception.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/cl.h' '/opt/intel/oneapi/compiler/2024.2/include/sycl/CL/cl.h' '/opt/intel/oneapi/compiler/2024.2/include/sycl/CL/cl_version.h' '/opt/intel/oneapi/compiler/2024.2/include/sycl/CL/cl_platform.h' '/opt/intel/oneapi/compiler/2024.2/include/sycl/CL/cl_ext.h' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/common.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/range.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/info/info_desc.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/experimental/device_architecture.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/matrix/query-types.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/matrix/matrix-unified-utils.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/info/platform_traits.def' '/opt/intel/oneapi/compiler/2024.2/include/sycl/info/context_traits.def' '/opt/intel/oneapi/compiler/2024.2/include/sycl/info/device_traits_deprecated.def' '/opt/intel/oneapi/compiler/2024.2/include/sycl/info/device_traits.def' '/opt/intel/oneapi/compiler/2024.2/include/sycl/info/queue_traits.def' '/opt/intel/oneapi/compiler/2024.2/include/sycl/info/kernel_traits.def' '/opt/intel/oneapi/compiler/2024.2/include/sycl/info/kernel_device_specific_traits.def' '/opt/intel/oneapi/compiler/2024.2/include/sycl/info/event_traits.def' '/opt/intel/oneapi/compiler/2024.2/include/sycl/info/event_profiling_traits.def' '/opt/intel/oneapi/compiler/2024.2/include/sycl/info/ext_codeplay_device_traits.def' '/opt/intel/oneapi/compiler/2024.2/include/sycl/info/ext_intel_device_traits.def' '/opt/intel/oneapi/compiler/2024.2/include/sycl/info/ext_oneapi_device_traits.def' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/owner_less_base.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/impl_utils.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/weak_object_base.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/device.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/util.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/device_selector.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/kernel_bundle_enums.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/platform.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/property_list.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/property_helper.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/property_list_base.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/properties/property_traits.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/stl_type_traits.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/sycl_mem_obj_allocator.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/aligned_allocator.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/event.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/accessor_property_list.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/types.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/generic_type_traits.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/memcpy.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/vector_convert.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/marray.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/swizzles.def' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/accessor_iterator.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/handler_proxy.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/image_accessor_util.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/image.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/backend_traits.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/sampler.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/pointers.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/properties/accessor_properties.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/properties/buffer_properties.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/image_ocl_types.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/atomic_fence.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/spirv.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/experimental/non_uniform_groups.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/sub_group_mask.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/feature_test.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/atomic_ref.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/backend.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/handler.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/cg.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/cg_types.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/host_profiling_info.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/item_base.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/kernel_desc.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/group.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/device_event.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/h_item.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/item.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/interop_handle.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/exception_list.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/kernel_handler.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/nd_item.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/nd_range.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/sub_group.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/functional.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/functional.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/kernel.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/kernel_bundle.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/properties/properties.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/properties/property.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/properties/property_utils.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/properties/property_value.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/reduction_forward.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/intel/experimental/fp_control_kernel_properties.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/intel/experimental/kernel_execution_properties.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/bindless_images_descriptor.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/bindless_images_interop.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/bindless_images_memory.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/device_global/device_global.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/device_global/properties.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/experimental/graph.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/experimental/root_group.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/builtins.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/builtins_legacy_marray_vec.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/builtins_legacy_scalar.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/boolean.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/builtins.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/builtins_utils_vec.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/builtins_utils_scalar.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/kernel_properties/properties.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/usm/usm_enums.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/usm/usm_pointer_info.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/queue.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/assert_happened.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/backend_traits_opencl.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/backend_traits_level_zero.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/backend/level_zero_ownership.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/backend/opencl.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/define_vendors.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/device_aspect_traits.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/device_aspect_macros.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/experimental/group_sort.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/experimental/group_helpers_sorters.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/sycl_span.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/group_sort_impl.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/group_algorithm.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/known_identity.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/group_barrier.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/pipes.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/intel/pipes.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/properties/all_properties.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/codeplay/experimental/fusion_properties.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/properties/context_properties.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/properties/image_properties.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/properties/queue_properties.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/properties/queue_properties.def' '/opt/intel/oneapi/compiler/2024.2/include/sycl/properties/reduction_properties.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/reduction.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/detail/tuple.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/usm.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/specialization_id.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/stream.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/usm/usm_allocator.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/version.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/backend/level_zero.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/codeplay/experimental/fusion_wrapper.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/intel/experimental/fpga_mem/fpga_datapath.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/intel/experimental/fpga_mem/fpga_mem.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/intel/experimental/fpga_mem/properties.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/intel/experimental/pipe_properties.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/intel/experimental/pipes.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/intel/experimental/fpga_utils.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/latency_control/properties.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/intel/experimental/usm_properties.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/intel/usm_pointers.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/bindless_images.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/bindless_images_sampler.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/experimental/address_cast.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/experimental/annotated_arg/annotated_arg.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/intel/experimental/fpga_annotated_properties.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/experimental/common_annotated_properties/properties.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/experimental/annotated_ptr/annotated_ptr_properties.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/experimental/annotated_ptr/annotated_ptr.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/intel/experimental/cache_control_properties.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/experimental/prefetch.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/experimental/annotated_usm/alloc_device.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/experimental/annotated_usm/alloc_base.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/experimental/annotated_usm/alloc_util.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/experimental/annotated_usm/alloc_host.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/experimental/annotated_usm/alloc_shared.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/experimental/annotated_usm/dealloc.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/experimental/auto_local_range.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/experimental/ballot_group.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/experimental/bfloat16_math.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/experimental/builtins.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/experimental/composite_device.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/experimental/cuda/barrier.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/experimental/fixed_size_group.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/experimental/opportunistic_group.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/experimental/tangle_group.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/filter_selector.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/group_local_memory.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/matrix/matrix.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/matrix/matrix-unified.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/matrix/matrix-intel.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/matrix/utils.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/matrix/static-query-use.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/matrix/matrix-tensorcores.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/owner_less.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/weak_object.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/ext/oneapi/sub_group.hpp' '/opt/intel/oneapi/compiler/2024.2/include/sycl/stl_wrappers/cmath' '/opt/intel/oneapi/compiler/2024.2/include/sycl/stl_wrappers/complex' ```

Do you have any guidance on how to get incremental builds working for oneDAL?

Alexsandruss commented 1 month ago

I can confirm incremental building stopped working at least on Linux-ICX-make toolchain from some point. Investigation will start soon.

ahuber21 commented 1 month ago

@sterrettm2 working on a fix in #2949. Feel free to check out the branch and give it a try. Let me know if you run into any issues.

sterrettm2 commented 1 month ago

From my testing, this seems to work great! Using ICX incremental builds seem to be working perfectly. Thanks so much for looking into this!

ahuber21 commented 1 month ago

That's good to hear. The changes don't cover all edge cases yet, so some steps of CI fail. I'm hoping to merge a working fix soon. Until then you can cherry-pick a commit that worked for you.