1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381
|
#!/bin/csh -f
rm libc_s7.c
rm libc_s7.so
rm libm_s7.c
rm libm_s7.so
rm libdl_s7.c
rm libdl_s7.so
rm libgsl_s7.c
rm libgsl_s7.so
rm libgdbm_s7.c
rm libgdbm_s7.so
rm ffitest
echo ' -------------------------------- without-gui -------------------------------- '
rm -f snd
rm -f config.cache
./configure --quiet CFLAGS="-Wall -Wno-restrict -Wno-array-bounds -Wno-stringop-overflow -Wno-parentheses -I/usr/local/include" --without-gui
make snd
echo ' '
echo ' '
./snd --version
./snd -l snd-test
echo ' '
echo ' '
echo ' -------------------------------- that was snd-test without-gui (also s7test) -------------------------------- '
echo ' '
echo ' '
./snd -noinit s7test.scm
# ./snd lint.scm -e '(begin (catch #t (lambda () (lint "s7test.scm" #f)) (lambda args #f)) (exit))'
# ./snd -e '(begin (load "snd-lint.scm") (lint "snd-test.scm") (exit))'
valgrind ./snd -noinit -l snd-test
echo ' '
echo ' '
echo ' -------------------------------- that was valgrind without-gui (also s7test) -------------------------------- '
echo ' '
echo ' '
gcc s7.c -o repl -DWITH_MAIN -DUSE_SND=0 -I. -O2 -g -Wl,-export-dynamic -ldl -lm
./repl tools/tauto.scm
echo ' '
echo ' '
echo ' -------------------------------- that was s7 tauto -------------------------------- '
echo ' '
echo ' '
echo ' -------------------------------- without-gui S7_DEBUGGING=1 -------------------------------- '
make allclean
rm -f snd
rm -f config.cache
./configure --quiet CFLAGS="-Wall -Wno-restrict -Wno-array-bounds -Wno-stringop-overflow -Wno-parentheses -I/usr/local/include -DS7_DEBUGGING" --without-gui --disable-deprecated
make snd
echo ' '
echo ' '
./snd --version
./snd -l snd-test
# ./snd lint.scm -e '(begin (lint "s7test.scm" #f) (exit))'
# cp s7test.scm tmptest.scm
# ./snd tools/sed.scm -e '(sed "tmptest.scm" "tmp" "(define full-test #f)" "(define full-test #t)")'
# mv tmp tmptest.scm
# ./snd tmptest.scm
echo ' '
echo ' '
echo ' -------------------------------- that was snd-test without-gui debugging disable deprecated -------------------------------- '
echo ' '
echo ' '
echo ' -------------------------------- pure-s7 -------------------------------- '
make allclean
rm -f snd
rm -f config.cache
./configure --quiet CFLAGS="-Wall -Wno-restrict -Wno-array-bounds -Wno-stringop-overflow -Wno-parentheses -I/usr/local/include -DWITH_PURE_S7=1" --without-gui --disable-deprecated
make snd
echo ' '
echo ' '
./snd --version
./snd -l snd-test
echo ' '
echo ' '
echo ' -------------------------------- that was snd-test pure-s7 -------------------------------- '
echo ' '
echo ' '
echo ' -------------------------------- no vectorize -------------------------------- '
make allclean
rm -f snd
rm -f config.cache
./configure --quiet CFLAGS="-Wall -Wno-restrict -Wno-array-bounds -Wno-stringop-overflow -Wno-parentheses -I/usr/local/include -DWITH_VECTORIZE=0 -DHAVE_OVERFLOW_CHECKS=0" --without-gui --disable-deprecated
make snd
echo ' '
echo ' '
./snd --version
./snd -l snd-test 8
echo ' '
echo ' '
echo ' -------------------------------- that was snd-test without vectorize -------------------------------- '
echo ' '
echo ' '
echo ' -------------------------------- without-gui CC=g++ --disable-deprecated -------------------------------- '
make allclean
rm -f snd
rm -f config.cache
./configure --quiet CFLAGS="-Wall -Wno-restrict -Wno-array-bounds -Wno-stringop-overflow -Wno-parentheses -DWITH_EXTRA_EXPONENT_MARKERS=1" --without-gui --disable-deprecated CC=g++
make snd
echo ' '
echo ' '
./snd --version
./snd -l snd-test
echo ' '
echo ' '
echo ' -------------------------------- that was snd-test g++/disable-deprecated -------------------------------- '
echo ' '
echo ' '
valgrind ./snd -l snd-test
echo ' '
echo ' '
echo ' -------------------------------- that was valgrind g++ -------------------------------- '
echo ' '
echo ' '
echo ' -------------------------------- without-gui --with-gmp -------------------------------- '
make allclean
rm -f snd
rm -f config.cache
./configure --quiet CFLAGS="-Wall -Wno-restrict -Wno-array-bounds -Wno-stringop-overflow -Wno-parentheses" --without-gui --with-gmp --disable-deprecated
make snd
echo ' '
echo ' '
./snd --version
./snd -l snd-test
echo ' '
echo ' '
echo ' -------------------------------- that was snd-test --with-gmp -------------------------------- '
echo ' '
echo ' '
# valgrind ./snd -l snd-test
# echo ' '
# echo ' '
# echo ' -------------------------------- that was valgrind --with-gmp -------------------------------- '
# echo ' '
# echo ' '
# gcc s7.c -o repl -DWITH_MAIN -I. -O2 -g -Wl,-export-dynamic -ldl -lm -lgmp -lmpfr -lmpc
# ./repl tools/tauto.scm
echo ' -------------------------------- without-gui --with-gmp debugging -------------------------------- '
make allclean
rm -f snd
rm -f config.cache
./configure --quiet CFLAGS="-Wall -Wno-restrict -Wno-array-bounds -Wno-stringop-overflow -Wno-parentheses -DS7_DEBUGGING=1" --without-gui --with-gmp --disable-deprecated
make snd
echo ' '
echo ' '
./snd --version
./snd -l snd-test
echo ' '
echo ' '
echo ' -------------------------------- that was snd-test --with-gmp debugging -------------------------------- '
echo ' '
echo ' '
echo ' -------------------------------- motif -------------------------------- '
make allclean
rm -f snd
rm -f config.cache
./configure --quiet --with-motif CFLAGS="-Wall -Wno-restrict -Wno-array-bounds -Wno-stringop-overflow -Wno-parentheses"
make snd
echo ' '
echo ' '
./snd --version
# ./snd -l snd-test 23
./snd -noinit -l snd-test
make clmclean
make sndinfo
./sndinfo oboe.snd
make sndplay
./sndplay oboe.snd
echo ' '
echo ' '
echo ' -------------------------------- that was motif -------------------------------- '
echo ' '
echo ' '
# valgrind ./snd -l snd-test
# echo ' '
# echo ' '
# echo ' -------------------------------- that was valgrind --with-motif? -------------------------------- '
# echo ' '
# echo ' '
echo ' -------------------------------- motif + gl -------------------------------- '
make allclean
rm -f snd
rm -f config.cache
./configure --quiet --with-gl --with-motif CFLAGS="-Wall -Wno-restrict -Wno-array-bounds -Wno-stringop-overflow -Wno-parentheses"
make snd
echo ' '
echo ' '
./snd --version
./snd -l snd-test 24
./snd -l snd-test
echo ' '
echo ' '
echo ' -------------------------------- that was motif? and gl -------------------------------- '
echo ' '
echo ' '
# valgrind ./snd -l snd-test
# echo ' '
# echo ' '
# echo ' -------------------------------- that was valgrind --with-motif and gl -------------------------------- '
# echo ' '
# echo ' '
echo ' -------------------------------- motif + gl + debug -------------------------------- '
make allclean
rm -f snd
rm -f config.cache
./configure --quiet --with-gl --with-motif CFLAGS="-DS7_DEBUGGING -Wall -Wno-restrict -Wno-array-bounds -Wno-stringop-overflow -Wno-parentheses"
make snd
echo ' '
echo ' '
./snd --version
./snd -l snd-test 24
./snd -l snd-test
echo ' '
echo ' '
echo ' -------------------------------- that was motif? and gl and debugging -------------------------------- '
echo ' '
echo ' '
make allclean
rm -f snd
rm -f config.cache
./configure --without-gui --quiet CC=clang CFLAGS="-Wall -Wno-array-bounds -Wno-parentheses" LDFLAGS="-Wl,-export-dynamic"
make snd
./snd --version
./snd -l snd-test
echo ' '
echo ' '
echo ' -------------------------------- that was clang? -------------------------------- '
echo ' '
echo ' '
cp snd-test.scm orig-snd-test.scm
./snd tools/sed.scm -e '(sed "snd-test.scm" "tmp" "(define tests 1)" "(define tests 5)")'
# sed snd-test.scm -e 's/(define tests 1)/(define tests 5)/g' > tmp
# sed differs so much between systems that it is useless
mv tmp snd-test.scm
echo ' -------------------------------- without-gui -------------------------------- '
make allclean
rm -f snd
rm -f config.cache
./configure --quiet CFLAGS="-Wall -Wno-restrict -Wno-array-bounds -Wno-stringop-overflow -Wno-parentheses" --without-gui
make snd
echo ' '
echo ' '
./snd --version
./snd -l snd-test
echo ' '
echo ' '
echo ' -------------------------------- that was snd-test mult without-gui -------------------------------- '
echo ' '
echo ' '
valgrind ./snd -l snd-test
echo ' '
echo ' '
echo ' -------------------------------- that was valgrind mult -------------------------------- '
echo ' '
echo ' '
cp orig-snd-test.scm snd-test.scm
./snd tools/sed.scm -e '(sed "snd-test.scm" "tmp" "(define test-at-random 0)" "(define test-at-random 100)")'
# sed snd-test.scm -e 's/(define test-at-random 0)/(define test-at-random 100)/g' > tmp
mv tmp snd-test.scm
# this hangs sometimes?
# echo ' '
# echo ' '
# ./snd --version
# ./snd -l snd-test
# echo ' '
# echo ' '
# echo ' -------------------------------- that was snd-test at-random without-gui -------------------------------- '
echo ' '
echo ' '
valgrind ./snd -l snd-test
echo ' '
echo ' '
echo ' -------------------------------- that was valgrind at-random -------------------------------- '
echo ' '
echo ' '
cp orig-snd-test.scm snd-test.scm
./snd tools/sed.scm -e '(sed "snd-test.scm" "tmp" "(define all-args #f)" "(define all-args #t)")'
# sed snd-test.scm -e 's/(define all-args #f)/(define all-args #t)/g' > tmp
mv tmp snd-test.scm
echo ' '
echo ' '
./snd --version
./snd -l snd-test
echo ' '
echo ' '
echo ' -------------------------------- that was snd-test full without-gui -------------------------------- '
echo ' '
echo ' '
valgrind ./snd -l snd-test
echo ' '
echo ' '
echo ' -------------------------------- that was valgrind full -------------------------------- '
echo ' '
echo ' '
make allclean
rm -f snd
rm -f config.cache
./configure --quiet CFLAGS="-Wall -Wno-restrict -Wno-array-bounds -Wno-stringop-overflow -Wno-parentheses" CC=g++
make snd
echo ' '
echo ' '
./snd --version
./snd -l snd-test
echo ' '
echo ' '
echo ' -------------------------------- that was snd-test full g++ -------------------------------- '
echo ' '
echo ' '
make allclean
rm -f snd
rm -f config.cache
./configure --quiet CFLAGS="-Wall -Wno-restrict -Wno-array-bounds -Wno-stringop-overflow -Wno-parentheses" --with-gmp --without-gui
make snd
echo ' '
echo ' '
./snd --version
./snd -l snd-test
echo ' '
echo ' '
echo ' -------------------------------- that was snd-test full gmp -------------------------------- '
echo ' '
echo ' '
./snd tools/sed.scm -e '(sed "snd-test.scm" "tmp" "(define tests 1)" "(define tests 7)")'
# sed snd-test.scm -e 's/(define tests 1)/(define tests 7)/g' > tmp
mv tmp snd-test.scm
make allclean
rm -f snd
rm -f config.cache
./configure --quiet CFLAGS="-Wall -Wno-restrict -Wno-array-bounds -Wno-stringop-overflow -Wno-parentheses" --without-gui
make snd
echo ' '
echo ' '
./snd -l snd-test
echo ' '
echo ' '
echo ' -------------------------------- that was snd-test full mult no-gui -------------------------------- '
echo ' '
echo ' '
cp orig-snd-test.scm snd-test.scm
|