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"
|
2021-09-17 19:26:24 +00:00
|
|
|
#CPPFLAGS="-pipe -Wno-multichar -Wno-write-strings -fno-enforce-eh-specs -Wno-non-template-friend -s -O3 -ffast-math -march=native"
|
|
|
|
CPPFLAGS="-include uint-hack.h -I/usr/include/OpenEXR"
|
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-17 19:26:24 +00:00
|
|
|
echo "typedef unsigned int uint;" > uint-hack.h
|
|
|
|
make -j CPPFLAGS="${CPPFLAGS}"
|
|
|
|
make install
|