You omitted the 'D' cmake -*D*enable-floats=1 ..
See cmake --help for more info. Tom 2018-06-01 0:37 GMT+02:00 Geoff Plitt <ge...@gweb.org>: > When I do that, it still seems to use double, is that what "enable_floats" > is supposed to do? > > Step 2/19 : RUN wget https://github.com/FluidSynth/ > fluidsynth/archive/v2.0.0.beta1.tar.gz -O fluidsynth.tar.gz > > ---> Using cache > > ---> 6d1df039ca5e > > Step 3/19 : RUN tar xvzf fluidsynth.tar.gz > > ---> Using cache > > ---> eb162b053289 > > Step 4/19 : RUN sudo apt-get update > > ---> Using cache > > ---> 5892ae7ddf78 > > Step 5/19 : RUN sudo apt-get install -y build-essential cmake > libasound2-dev libfluidsynth-dev > > ---> Using cache > > ---> 2ba470419107 > > Step 6/19 : RUN cd fluidsynth-2.0.0.beta1 && mkdir build && cd build && > cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS_RELEASE="-ffast-math > -O3" -enable-floats=true .. > > ---> Running in a4114c37e718 > > -- The C compiler identification is GNU 4.9.2 > > -- Check for working C compiler: /usr/bin/cc > > -- Check for working C compiler: /usr/bin/cc -- works > > -- Detecting C compiler ABI info > > -- Detecting C compiler ABI info - done > > -- Detecting C compile features > > -- Detecting C compile features - done > > -- Checking whether system has ANSI C header files > > -- Looking for 8 include files dlfcn.h, ..., float.h > > -- Looking for 8 include files dlfcn.h, ..., float.h - found > > -- Performing Test memchrExists > > -- Performing Test memchrExists - Success > > -- Performing Test freeExists > > -- Performing Test freeExists - Success > > -- ANSI C header files - found > > -- Looking for include file unistd.h > > -- Looking for include file unistd.h - found > > -- Looking for DIR in sys/stat.h;sys/types.h;dirent.h > > -- Looking for DIR in sys/stat.h;sys/types.h;dirent.h - found > > -- Looking for stdio.h > > -- Looking for stdio.h - found > > -- Looking for math.h > > -- Looking for math.h - found > > -- Looking for errno.h > > -- Looking for errno.h - found > > -- Looking for stdarg.h > > -- Looking for stdarg.h - found > > -- Looking for memory.h > > -- Looking for memory.h - found > > -- Looking for sys/mman.h > > -- Looking for sys/mman.h - found > > -- Looking for sys/time.h > > -- Looking for sys/time.h - found > > -- Looking for sys/ioctl.h > > -- Looking for sys/ioctl.h - found > > -- Looking for fcntl.h > > -- Looking for fcntl.h - found > > -- Looking for sys/socket.h > > -- Looking for sys/socket.h - found > > -- Looking for netinet/in.h > > -- Looking for netinet/in.h - found > > -- Looking for netinet/tcp.h > > -- Looking for netinet/tcp.h - found > > -- Looking for arpa/inet.h > > -- Looking for arpa/inet.h - found > > -- Looking for limits.h > > -- Looking for limits.h - found > > -- Looking for pthread.h > > -- Looking for pthread.h - found > > -- Looking for signal.h > > -- Looking for signal.h - found > > -- Looking for getopt.h > > -- Looking for getopt.h - found > > -- Performing Test _have_inline > > -- Performing Test _have_inline - Success > > -- Performing Test _have_vla > > -- Performing Test _have_vla - Success > > -- Check if the system is big endian > > -- Searching 16 bit integer > > -- Check size of unsigned short > > -- Check size of unsigned short - done > > -- Using unsigned short > > -- Check if the system is big endian - little endian > > -- Looking for pthread.h > > -- Looking for pthread.h - found > > -- Looking for pthread_create > > -- Looking for pthread_create - not found > > -- Looking for pthread_create in pthreads > > -- Looking for pthread_create in pthreads - not found > > -- Looking for pthread_create in pthread > > -- Looking for pthread_create in pthread - found > > -- Found Threads: TRUE > > -- Looking for inet_ntop > > -- Looking for inet_ntop - found > > -- Found PkgConfig: /usr/bin/pkg-config (found version "0.28") > > -- Checking for modules 'glib-2.0>=2.6.5;gthread-2.0>=2.6.5' > > -- Found glib-2.0, version 2.42.1 > > -- Found gthread-2.0, version 2.42.1 > > -- Checking for module 'sndfile>=1.0.0' > > -- Found sndfile, version 1.0.25 > > -- Checking for module 'sndfile>=1.0.18' > > -- Found sndfile, version 1.0.25 > > -- Checking for module 'libpulse-simple>=0.9.8' > > -- Found libpulse-simple, version 5.0 > > -- Checking for module 'alsa>=0.9.1' > > -- Found alsa, version 1.0.28 > > -- Checking for module 'jack' > > -- Found jack, version 0.124.1 > > -- Checking for module 'lash-1.0>=0.3' > > -- > > -- Checking for module 'dbus-1>=1.0.0' > > -- Found dbus-1, version 1.8.22 > > -- Looking for ladspa.h > > -- Looking for ladspa.h - not found > > -- Found READLINE: /usr/include > > -- Found OpenMP > > -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) > > > ************************************************************** > > Summary: > > Build type: Release > > libsndfile: yes (with ogg vorbis support) > > D-Bus: yes > > PulseAudio: yes > > JACK: yes > > ALSA: yes > > PortAudio: no > > OSS: yes > > MidiShare: no > > CoreAudio: no > > CoreMIDI: no > > Windows: no > > LADSPA support: no > > LASH support: no > > OS/2 DART support: no > > Audio to file driver: yes > > NETWORK Support : yes > > IPV6 Support : yes > > Readline: yes (NOTE: GPL library) > > Samples type=float: no (using double) > > Profiling: no > > OpenMP 4.0: yes > > Debug: no > > Trap on FPE (debug): no > > Check FPE (debug): no > > ************************************************************** > > > > > _______________________________________________ > fluid-dev mailing list > fluid-dev@nongnu.org > https://lists.nongnu.org/mailman/listinfo/fluid-dev > >
_______________________________________________ fluid-dev mailing list fluid-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/fluid-dev