mirror of
https://github.com/tailix/libkernaux.git
synced 2025-03-17 17:14:00 -04:00
Fix FreeBSD builds (#142)
This commit is contained in:
parent
187475826e
commit
f3f34e9057
3 changed files with 10 additions and 5 deletions
|
@ -8,10 +8,11 @@ main_freebsd_task:
|
|||
name: Main (FreeBSD)
|
||||
only_if: $CIRRUS_BRANCH == 'master' || $CIRRUS_BASE_BRANCH == 'master'
|
||||
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:
|
||||
- ./autogen.sh
|
||||
- ./configure --enable-debug --enable-checks --enable-checks-pthreads CFLAGS='-O3'
|
||||
- ./configure --enable-debug --enable-checks-all CFLAGS='-O3'
|
||||
- make
|
||||
- sudo make install
|
||||
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>
|
||||
|
||||
* examples/Makefile.am: Fix builds without pthreads
|
||||
|
|
|
@ -104,7 +104,7 @@ endif
|
|||
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
|
||||
$(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 #
|
||||
|
@ -338,7 +338,7 @@ endif
|
|||
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
|
||||
$(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 #
|
||||
|
@ -361,7 +361,7 @@ endif
|
|||
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
|
||||
$(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 #
|
||||
|
|
Loading…
Add table
Reference in a new issue