CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
86 lines
3.1 KiB
Makefile
86 lines
3.1 KiB
Makefile
## Copyright (C) 1997-2024 Free Software Foundation, Inc.
|
|
##
|
|
## This program is free software; you can redistribute it and/or modify
|
|
## it under the terms of the GNU General Public License as published by
|
|
## the Free Software Foundation; either version 3 of the License, or
|
|
## (at your option) any later version.
|
|
##
|
|
## This program is distributed in the hope that it will be useful,
|
|
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
## GNU General Public License for more details.
|
|
##
|
|
## You should have received a copy of the GNU General Public License
|
|
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
EXTRA_PROGRAMS += %D%/bits-gen
|
|
|
|
# We don't build this normally as it relies on the Berkeley SoftFloat/TestFloat
|
|
# projects being installed/available first.
|
|
EXTRA_PROGRAMS += %D%/fpu-tst
|
|
|
|
TESTS = \
|
|
%D%/bits32m0 \
|
|
%D%/bits32m31 \
|
|
%D%/bits64m0 \
|
|
%D%/bits64m63 \
|
|
%D%/alu-tst
|
|
check_PROGRAMS += $(TESTS)
|
|
|
|
%C%_CPPFLAGS = \
|
|
-I$(srcdir)/common \
|
|
-I$(srcroot)/include \
|
|
-I../bfd
|
|
|
|
# These tests are build-time only tools. Override the default rules for them.
|
|
%D%/%.o: %D%/%.c
|
|
$(AM_V_CC)$(COMPILE_FOR_BUILD) $(%C%_CPPFLAGS) -c $< -o $@
|
|
|
|
%D%/alu-tst$(EXEEXT): $(%C%_alu_tst_OBJECTS) $(%C%_alu_tst_DEPENDENCIES) %D%/$(am__dirstamp)
|
|
$(AM_V_CCLD)$(LINK_FOR_BUILD) $(%C%_alu_tst_OBJECTS) $(%C%_alu_tst_LDADD)
|
|
|
|
%D%/fpu-tst$(EXEEXT): $(%C%_fpu_tst_OBJECTS) $(%C%_fpu_tst_DEPENDENCIES) %D%/$(am__dirstamp)
|
|
$(AM_V_CCLD)$(LINK_FOR_BUILD) $(%C%_fpu_tst_OBJECTS) $(%C%_fpu_tst_LDADD)
|
|
|
|
%D%/bits-gen$(EXEEXT): $(%C%_bits_gen_OBJECTS) $(%C%_bits_gen_DEPENDENCIES) %D%/$(am__dirstamp)
|
|
$(AM_V_CCLD)$(LINK_FOR_BUILD) $(%C%_bits_gen_OBJECTS) $(%C%_bits_gen_LDADD)
|
|
|
|
%D%/bits32m0$(EXEEXT): $(%C%_bits32m0_OBJECTS) $(%C%_bits32m0_DEPENDENCIES) %D%/$(am__dirstamp)
|
|
$(AM_V_CCLD)$(LINK_FOR_BUILD) $(%C%_bits32m0_OBJECTS) $(%C%_bits32m0_LDADD)
|
|
|
|
%D%/bits32m0.c: %D%/bits-gen$(EXEEXT) %D%/bits-tst.c
|
|
$(AM_V_GEN)$< 32 0 big > $@.tmp
|
|
$(AM_V_at)cat $(srcdir)/%D%/bits-tst.c >> $@.tmp
|
|
$(AM_V_at)mv $@.tmp $@
|
|
|
|
%D%/bits32m31$(EXEEXT): $(%C%_bits32m31_OBJECTS) $(%C%_bits32m31_DEPENDENCIES) %D%/$(am__dirstamp)
|
|
$(AM_V_CCLD)$(LINK_FOR_BUILD) $(%C%_bits32m31_OBJECTS) $(%C%_bits32m31_LDADD)
|
|
|
|
%D%/bits32m31.c: %D%/bits-gen$(EXEEXT) %D%/bits-tst.c
|
|
$(AM_V_GEN)$< 32 31 little > $@.tmp
|
|
$(AM_V_at)cat $(srcdir)/%D%/bits-tst.c >> $@.tmp
|
|
$(AM_V_at)mv $@.tmp $@
|
|
|
|
%D%/bits64m0$(EXEEXT): $(%C%_bits64m0_OBJECTS) $(%C%_bits64m0_DEPENDENCIES) %D%/$(am__dirstamp)
|
|
$(AM_V_CCLD)$(LINK_FOR_BUILD) $(%C%_bits64m0_OBJECTS) $(%C%_bits64m0_LDADD)
|
|
|
|
%D%/bits64m0.c: %D%/bits-gen$(EXEEXT) %D%/bits-tst.c
|
|
$(AM_V_GEN)$< 64 0 big > $@.tmp
|
|
$(AM_V_at)cat $(srcdir)/%D%/bits-tst.c >> $@.tmp
|
|
$(AM_V_at)mv $@.tmp $@
|
|
|
|
%D%/bits64m63$(EXEEXT): $(%C%_bits64m63_OBJECTS) $(%C%_bits64m63_DEPENDENCIES) %D%/$(am__dirstamp)
|
|
$(AM_V_CCLD)$(LINK_FOR_BUILD) $(%C%_bits64m63_OBJECTS) $(%C%_bits64m63_LDADD)
|
|
|
|
%D%/bits64m63.c: %D%/bits-gen$(EXEEXT) %D%/bits-tst.c
|
|
$(AM_V_GEN)$< 64 63 little > $@.tmp
|
|
$(AM_V_at)cat $(srcdir)/%D%/bits-tst.c >> $@.tmp
|
|
$(AM_V_at)mv $@.tmp $@
|
|
|
|
CLEANFILES += \
|
|
%D%/bits-gen \
|
|
%D%/bits32m0.c \
|
|
%D%/bits32m31.c \
|
|
%D%/bits64m0.c \
|
|
%D%/bits64m63.c
|