fix test code #17
Annotations
2 errors
|
build-ci-images (ci-manylinux_2_28_x86_64-dev)
buildx failed with: ERROR: failed to build: failed to solve: process "/bin/bash -euo pipefail -c # install a newer CMake than what the package manager has\ncurl -sL https://cmake.org/files/v4.2/cmake-4.2.1-linux-$(arch).sh -o cmake.sh\nchmod +x cmake.sh\n./cmake.sh --prefix=/usr/local --exclude-subdir\nrm -f ./cmake.sh\n\n# build PoCL\ngit clone \\\n --depth 1 \\\n --branch v7.1 \\\n https://github.com/pocl/pocl.git\n\n# explanations for some flags:\n#\n# * -DCMAKE_{C,CXX}_COMPILER: DEVTOOLSET_ROOTPATH is where manylinux puts the gcc toolset\n# * -DLLC_HOST_CPU=\"x86_64\": passed to clang's -march/-mcpu flag. see https://github.com/chromebrew/chromebrew/pull/9176#issuecomment-1891751465\n#\ncmake \\\n -B pocl/build \\\n -S pocl \\\n -DCMAKE_BUILD_TYPE=release \\\n -DCMAKE_C_COMPILER=\"clang\" \\\n -DCMAKE_CXX_COMPILER=\"clang++\" \\\n -DENABLE_DOXYGEN=OFF \\\n -DENABLE_ICD=ON \\\n -DENABLE_LLVM=ON \\\n -DENABLE_EXAMPLES=OFF \\\n -DENABLE_HOST_CPU_DEVICES=ON \\\n -DENABLE_HWLOC=ON \\\n -DENABLE_POCLCC=ON \\\n -DENABLE_SPIRV=ON \\\n -DENABLE_TESTS=OFF \\\n -DENABLE_VALGRIND=OFF \\\n -DINSTALL_OPENCL_HEADERS=OFF \\\n -DLLC_HOST_CPU=\"x86-64\" \\\n -DPOCL_DEBUG_MESSAGES=OFF \\\n -DPOCL_INSTALL_ICD_VENDORDIR=/etc/OpenCL/vendors\n\ncmake --build pocl/build -j4\n\ncmake --install pocl/build\ncmake --install pocl/build --component icd\n\n# try hand-writing the pocl.icd file in the case where pocl's CMake refused to\nif ! test -f /etc/OpenCL/vendors/pocl.icd ; then\n POCL_LIBRARY=$(\n find /usr/local/lib64 -type f -name 'libOpenCL.so.2.*'\n )\n echo \"${POCL_LIBRARY}\" > /etc/OpenCL/vendors/pocl.icd\nfi\n" did not complete successfully: exit code: 1
|
|
build-ci-images (ci-manylinux_2_28_aarch64-dev)
buildx failed with: ERROR: failed to build: failed to solve: process "/bin/bash -euo pipefail -c # install a newer CMake than what the package manager has\ncurl -sL https://cmake.org/files/v4.2/cmake-4.2.1-linux-aarch64.sh -o cmake.sh\nchmod +x cmake.sh\n./cmake.sh --prefix=/usr/local --exclude-subdir\nrm -f ./cmake.sh\n\n# build PoCL\n#\n# NOTE: If this is updated, check if CL_TARGET_OPENCL_VERSION in cmake/IntegratedOpenCL.cmake\n# needs to be updated (see comments there for links).\ngit clone \\\n --depth 1 \\\n --branch v7.1 \\\n https://github.com/pocl/pocl.git\n\n# compile support for a bunch of different aarch64 CPUs\n#\n# Copied from https://github.com/conda-forge/pocl-feedstock/blob/64c2c02d96960160e20cabf1b1392a1752146f29/recipe/build.sh#L58-L62\n#\n# This support is mostly added for CI...testing device=\"gpu\" codepaths on host CPUs, which tend to be cheaper and more\n# available than CI runners with GPUs. But using the host CPU as an OpenCL device can be useful for research as well.\n#\nAARCH64_CPUS=\"generic;cortex-a35;cortex-a53;cortex-a55;cortex-a57;cortex-a65;cortex-a72;cortex-a73;cortex-a75;cortex-a76\"\nAARCH64_CPUS=\"${AARCH64_CPUS};cyclone;exynos-m3;exynos-m4;exynos-m5;falkor;kryo;neoverse-e1;neoverse-n1;saphira\"\nAARCH64_CPUS=\"${AARCH64_CPUS};thunderx;thunderx2t99;thunderxt81;thunderxt83;thunderxt88;tsv110\"\n\n# explanations for some flags:\n#\n# * -DCMAKE_{C,CXX}_COMPILER: DEVTOOLSET_ROOTPATH is where manylinux puts the gcc toolset\n# * -DENABLE_ICD=ON: select appropriate OpenCL platform at runtime (https://github.com/pocl/pocl/blob/013d2f19f4e8f2e0fd9aedcb70117d6dcc737aa9/doc/sphinx/source/using.rst#installable-client-driver-icd)\n# * -DLLC_HOST_CPU=\"cortex-a35\": passed to clang's -march/-mcpu flag, which is like \"support a bunch of Arm CPUs\".\n#\n# TODO: fix /etc/OpenCL/vendors not being populated:\n#\n# - needs an ocl-icd>=2.3 (I think?)\n# - almalinux 8 has ocl-icd=2.2.*\n# - almalinux 10 has a 2.3.*, but its GLIBC requirement is too high\n# \n# relevant CMake output:\n#\n# -- Checking for module 'ocl-icd>=1.3'\n# -- Found ocl-icd, version 2.2.12\n# CMake Warning at CMakeLists.txt:82 (message):\n# Requested build with icd, but ICD loader not found! some examples will not\n# work..\n# Call Stack (most recent call first):\n# CMakeLists.txt:1518 (setup_cached_var)\n# -- Using an ICD loader (override): 0\n# -- Run tests with ICD: 0\n# -- Using PoCL's OpenCL 3.0 headers\n# \n# references:\n#\n# - https://github.com/pocl/pocl/issues/1280\n#\n# \ncmake \\\n -B pocl/build \\\n -S pocl \\\n -DCLANG_MARCH_FLAG=\"-mcpu=\" \\\n -DCMAKE_BUILD_TYPE=release \\\n -DCMAKE_C_COMPILER=\"clang\" \\\n -DCMAKE_CXX_COMPILER=\"clang++\" \\\n -DENABLE_DOXYGEN=OFF \\\n -DENABLE_ICD=ON \\\n -DENABLE_LLVM=ON \\\n -DENABLE_EXAMPLES=OFF \\\n -DENABLE_HOST_CPU_DEVICES=ON \\\n -DENABLE_HWLOC=ON \\\n -DENABLE_POCLCC=ON \\\n -DENABLE_SPIRV=ON \\\n -DENABLE_TESTS=OFF \\\n -DENABLE_VALGRIND=OFF \\\n -DINSTALL_OPENCL_HEADERS=OFF \\\n -DKERNELLIB_HOST_CPU_VARIANTS=\"${AARCH64_CPUS}\" \\\n -DLLC_HOST_CPU=cortex-a35 \\\n -DPOCL_DEBUG_MESSAGES=OFF \\\n -DPOCL_INSTALL_ICD_VENDORDIR=/etc/OpenCL/vendors\n\ncmake --build pocl/build -j4\n\ncmake --install pocl/build\ncmake --install pocl/build --component icd\n\n# try hand-writing the pocl.icd file in the case where pocl's CMake refused to\nif ! test -f /etc/OpenCL/vendors/pocl.icd ; then\n POCL_LIBRARY=$(\n find /usr/local/lib64 -type f -name 'libOpenCL.so.2.*'\n )\n echo \"${POCL_LIBRARY}\" > /etc/OpenCL/vendors/pocl.icd\nfi\n" did not complete successfully: exit code: 1
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
microsoft~LightGBM~6YJIML.dockerbuild
|
116 KB |
sha256:b11215f208635ed4159ff0f5c0594794892f799665bc61afdc1a33d118b649a3
|
|
|
microsoft~LightGBM~T1GIH0.dockerbuild
|
281 KB |
sha256:6323a842c3175c4986771a98b93779ac307924b8a89b0c7f5a87cc20fee97a8b
|
|