Hi!

I'm trying to setup github-actions with MacOS build.

Guess what? Errors after errors.

Is the master code supposed to build without patches? And 3.0 branch?

What are the commands to build?

How the OS should be prepared?

So far I'm having this:

------
        brew install automake libtool icu4c
        ln -s /usr/local/bin/glibtoolize /usr/local/bin/libtoolize
        ln -s /usr/local/bin/glibtool /usr/local/bin/libtool
        brew link icu4c --force
        brew info icu4c
        brew install libtommath
        brew install libtomcrypt

        export PATH="/usr/local/opt/icu4c/bin:$PATH"
        export PATH="/usr/local/opt/icu4c/sbin:$PATH"
        export LDFLAGS="-L/usr/local/opt/icu4c/lib"
        export CPPFLAGS="-I/usr/local/opt/icu4c/include -stdlib=libc++"
        export CXX="g++ -I/usr/local/opt/icu4c/include -stdlib=libc++"
        #./autogen.sh --with-builtin-tomcrypt --with-builtin-tommath
        ./autogen.sh
        make -j4
        make dist
------

I had to ifdef posix_fadvise with HAVE_POSIX_FADVISE in os_utils.h.

The current error is:

/Users/runner/runners/2.159.2/work/firebird/firebird/src/common/CRC32C.cpp:55:16:
error: always_inline function '_mm_crc32_u16' requires target feature
'sse4.2', but would be inlined into function 'CRC32C' that is compiled
without support for 'sse4.2'
                hash_value = _mm_crc32_u16(hash_value, *(unsigned
short*) value);


Adriano



Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to