2021-08-31 19:15:32 +00:00
|
|
|
#!/bin/bash -x
|
|
|
|
|
2021-09-15 14:52:39 +00:00
|
|
|
EMAIL="hi@mmcwilliams.com"
|
2021-08-31 19:15:32 +00:00
|
|
|
NAME="Matt McWilliams"
|
2021-09-16 01:43:01 +00:00
|
|
|
#CPPFLAGS="-Wall -Wextra -Werror -I/usr/include/OpenEXR"
|
|
|
|
CPPFLAGS="-pipe -Wno-multichar -Wno-write-strings -fno-enforce-eh-specs -Wno-non-template-friend -s -O3 -ffast-math -march=native"
|
2021-08-31 19:15:32 +00:00
|
|
|
|
|
|
|
cd unix/
|
2021-09-16 01:16:06 +00:00
|
|
|
./prebuild.sh
|
2021-08-31 19:15:32 +00:00
|
|
|
cd ../
|
2021-09-15 14:52:39 +00:00
|
|
|
./configure COMPILED_BY="$NAME <$EMAIL>" LDFLAGS="-Wl,-V"
|
2021-09-16 01:13:41 +00:00
|
|
|
make -j CPPFLAGS="${CPPFLAGS}"
|