Merge remote-tracking branch 'origin/main' into main

This commit is contained in:
Matt McWilliams 2021-09-22 00:37:11 -04:00
commit 9f6598357c
2 changed files with 14 additions and 2 deletions

View File

@ -3,10 +3,13 @@
EMAIL="hi@mmcwilliams.com"
NAME="Matt McWilliams"
#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"
#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"
cd unix/
./prebuild.sh
cd ../
./configure COMPILED_BY="$NAME <$EMAIL>" LDFLAGS="-Wl,-V"
make -j CPPFLAGS="${CPPFLAGS}"
echo "typedef unsigned int uint;" > uint-hack.h
make -j CPPFLAGS="${CPPFLAGS}"
make install

9
povray_gcc/cmd.sh Normal file
View File

@ -0,0 +1,9 @@
#!/bin/bash
cd povray
sudo docker run \
--cpus=2 \
-v $PWD:/usr/src \
povray_gcc \
sh -c "${1}"