Edit

kc3-lang/gnulib/modules/mbswidth-bench-tests

Branch :

  • Show log

    Commit

  • Author : Bruno Haible
    Date : 2023-07-25 22:56:19
    Hash : e3f3b825
    Message : Compile benchmark programs without assertions. * modules/mbiter-bench-tests (Makefile.am): Compile bench-mbiter with -DNDEBUG. * modules/mbiterf-bench-tests (Makefile.am): Compile bench-mbiterf with -DNDEBUG. * modules/mbuiter-bench-tests (Makefile.am): Compile bench-mbuiter with -DNDEBUG. * modules/mbuiterf-bench-tests (Makefile.am): Compile bench-mbuiterf with -DNDEBUG. * modules/mbswidth-bench-tests (Makefile.am): Compile bench-mbswidth with -DNDEBUG. * modules/crypto/md5-buffer-tests (Makefile.am): Compile bench-md5 with -DNDEBUG. * modules/crypto/sha1-buffer-tests (Makefile.am): Compile bench-sha1 with -DNDEBUG. * modules/crypto/sha256-buffer-tests (Makefile.am): Compile bench-sha224 and bench-sha256 with -DNDEBUG. * modules/crypto/sha512-buffer-tests (Makefile.am): Compile bench-sha384 and bench-sha512 with -DNDEBUG.

  • modules/mbswidth-bench-tests
  • Files:
    tests/bench-mbswidth.c
    tests/bench-multibyte.h
    tests/bench.h
    
    Depends-on:
    mbrtoc32-regular
    mbswidth
    setlocale
    striconv
    getrusage
    gettimeofday
    
    configure.ac:
    
    Makefile.am:
    noinst_PROGRAMS += bench-mbswidth
    # Note: Despite NDEBUG being set here, mbswidth.o is compiled with the
    # global CPPFLAGS. For complete removal of assert() invocations, pass
    # CPPFLAGS="-DNDEBUG" when configuring the package.
    bench_mbswidth_CPPFLAGS = $(AM_CPPFLAGS) -DNDEBUG
    bench_mbswidth_LDADD = $(LDADD) $(LIBUNISTRING) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBC32CONV)