mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
72dffd878e
Bundled jemalloc can only be on Linux and OSX without problems. On BSDs, build fails because make does not understand GNU extensions (also BSDs do not need jemalloc, it is already system malloc). On Solaris, build fails with compile error.
8 lines
418 B
Bash
Executable file
8 lines
418 B
Bash
Executable file
#!/bin/sh
|
|
# used for sol10-64 builder in buildbot, don't use it elsewhere
|
|
export LDFLAGS='-m64 -lmtmalloc -R/usr/sfw/lib/64'
|
|
export CFLAGS='-mtune=i386 -D__sun -m64 -mtune=athlon64'
|
|
export CXXFLAGS='-mtune=i386 -D__sun -m64 -mtune=athlon64'
|
|
cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/mysql -DWITH_EXTRA_CHARSETS=complex -DWITH_READLINE=ON -DWITH_SSL=bundled -DWITH_MAX=ON -DWITH_EMBEDDED_SERVER=ON
|
|
gmake -j6 VERBOSE=1
|
|
|