# Verified builds for neon-mem. Both routines are assembled for AArch64, then # the size test runs under Linux on an AArch64 CPU or qemu-aarch64. [project] isa = "arm64" assembler = "gas" target = "AArch64 Linux, AAPCS64" [[step]] name = "assemble memcpy" run = ["clang", "--target=aarch64-linux-gnu", "-c", "-g", "-o", "build/memcpy.o", "src/memcpy.S"] [[step]] name = "assemble memset" run = ["clang", "--target=aarch64-linux-gnu", "-c", "-g", "-o", "build/memset.o", "src/memset.S"] [[step]] name = "link the size test" run = ["clang", "--target=aarch64-linux-gnu", "-O2", "-ffreestanding", "-nostdlib", "-static", "-fuse-ld=lld", "-o", "build/sizes", "test/sizes.c", "build/memcpy.o", "build/memset.o"] [[step]] name = "every size and alignment" on = "linux" run = ["./build/sizes"] expect = "131200 calls, 0 failures" [artifact] path = "build/memcpy.o" paths = ["build/memset.o"]