mirror of https://github.com/tailix/libkernaux.git
Fix FreeBSD builds (#142)
This commit is contained in:
parent
187475826e
commit
f3f34e9057
|
@ -8,10 +8,11 @@ main_freebsd_task:
|
||||||
name: Main (FreeBSD)
|
name: Main (FreeBSD)
|
||||||
only_if: $CIRRUS_BRANCH == 'master' || $CIRRUS_BASE_BRANCH == 'master'
|
only_if: $CIRRUS_BRANCH == 'master' || $CIRRUS_BASE_BRANCH == 'master'
|
||||||
dependencies_script:
|
dependencies_script:
|
||||||
- pkg install --yes autoconf automake libtool
|
- pkg install --yes autoconf automake cppcheck libtool libyaml py39-pip py39-wheel python3
|
||||||
|
- pip install --user Jinja2 PyYAML
|
||||||
main_build_script:
|
main_build_script:
|
||||||
- ./autogen.sh
|
- ./autogen.sh
|
||||||
- ./configure --enable-debug --enable-checks --enable-checks-pthreads CFLAGS='-O3'
|
- ./configure --enable-debug --enable-checks-all CFLAGS='-O3'
|
||||||
- make
|
- make
|
||||||
- sudo make install
|
- sudo make install
|
||||||
main_test_script:
|
main_test_script:
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
2022-12-13 Alex Kotov <kotovalexarian@gmail.com>
|
||||||
|
|
||||||
|
* tests/Makefile.am: Fix FreeBSD builds
|
||||||
|
|
||||||
2022-12-12 Alex Kotov <kotovalexarian@gmail.com>
|
2022-12-12 Alex Kotov <kotovalexarian@gmail.com>
|
||||||
|
|
||||||
* examples/Makefile.am: Fix builds without pthreads
|
* examples/Makefile.am: Fix builds without pthreads
|
||||||
|
|
|
@ -104,7 +104,7 @@ endif
|
||||||
CLEANFILES += test_cmdline_gen.c
|
CLEANFILES += test_cmdline_gen.c
|
||||||
|
|
||||||
test_cmdline_gen.c: $(top_srcdir)/tests/cmdline_gen.py $(top_srcdir)/tests/cmdline_gen.jinja $(top_srcdir)/common/cmdline.yml
|
test_cmdline_gen.c: $(top_srcdir)/tests/cmdline_gen.py $(top_srcdir)/tests/cmdline_gen.jinja $(top_srcdir)/common/cmdline.yml
|
||||||
$(PYTHON) $+ $@
|
$(PYTHON) $(top_srcdir)/tests/cmdline_gen.py $(top_srcdir)/tests/cmdline_gen.jinja $(top_srcdir)/common/cmdline.yml test_cmdline_gen.c
|
||||||
|
|
||||||
############
|
############
|
||||||
# test_elf #
|
# test_elf #
|
||||||
|
@ -338,7 +338,7 @@ endif
|
||||||
CLEANFILES += test_printf_fmt_gen.c
|
CLEANFILES += test_printf_fmt_gen.c
|
||||||
|
|
||||||
test_printf_fmt_gen.c: $(top_srcdir)/tests/printf_fmt_gen.py $(top_srcdir)/tests/printf_fmt_gen.jinja $(top_srcdir)/common/printf_fmt.yml
|
test_printf_fmt_gen.c: $(top_srcdir)/tests/printf_fmt_gen.py $(top_srcdir)/tests/printf_fmt_gen.jinja $(top_srcdir)/common/printf_fmt.yml
|
||||||
$(PYTHON) $+ $@
|
$(PYTHON) $(top_srcdir)/tests/printf_fmt_gen.py $(top_srcdir)/tests/printf_fmt_gen.jinja $(top_srcdir)/common/printf_fmt.yml test_printf_fmt_gen.c
|
||||||
|
|
||||||
###################
|
###################
|
||||||
# test_printf_gen #
|
# test_printf_gen #
|
||||||
|
@ -361,7 +361,7 @@ endif
|
||||||
CLEANFILES += test_printf_gen.c
|
CLEANFILES += test_printf_gen.c
|
||||||
|
|
||||||
test_printf_gen.c: $(top_srcdir)/tests/printf_gen.py $(top_srcdir)/tests/printf_gen.jinja $(top_srcdir)/common/printf.yml $(top_srcdir)/common/printf_orig.yml
|
test_printf_gen.c: $(top_srcdir)/tests/printf_gen.py $(top_srcdir)/tests/printf_gen.jinja $(top_srcdir)/common/printf.yml $(top_srcdir)/common/printf_orig.yml
|
||||||
$(PYTHON) $+ $@
|
$(PYTHON) $(top_srcdir)/tests/printf_gen.py $(top_srcdir)/tests/printf_gen.jinja $(top_srcdir)/common/printf.yml $(top_srcdir)/common/printf_orig.yml test_printf_gen.c
|
||||||
|
|
||||||
####################
|
####################
|
||||||
# test_units_human #
|
# test_units_human #
|
||||||
|
|
Loading…
Reference in New Issue