Previous 199869 Revisions Next

r32479 Wednesday 1st October, 2014 at 09:17:09 UTC by Oliver Stöneberg
added makefile variable OPENMP to enable usage of OpenMP (includes vconv support of -fopenmp) [Oliver Stöneberg]
[/trunk]makefile
[src/osd/windows]vconv.c

trunk/src/osd/windows/vconv.c
r32478r32479
9999   { 0,        "c++",                      "" },
100100   { 0,        "-flto",                    "/GL" },
101101   { 0,        "-fno-optimize-sibling-calls", "" },
102   { VS2005,   "-fopenmp",                "/openmp" },
102103   { 0 }
103104};
104105
trunk/makefile
r32478r32479
268268# uncomment to enable SSE2 optimized code and SSE2 code generation (implicitly enabled by 64-bit compilers)
269269# SSE2 = 1
270270
271# uncomment to enable OpenMP optimized code
272# OPENMP = 1
273
271274# specify optimization level or leave commented to use the default
272275# (default is OPTIMIZE = 3 normally, or OPTIMIZE = 0 with symbols)
273276# OPTIMIZE = 3
r32478r32479
548551CCOMFLAGS += -msse2
549552endif
550553
554ifdef OPENMP
555DEFS += -DHAS_OPENMP
556CCOMFLAGS += -fopenmp
557else
558CCOMFLAGS += -Wno-unknown-pragmas
559endif
560
551561# add a basic set of warnings
552562CCOMFLAGS += \
553563   -Wall \

Previous 199869 Revisions Next


© 1997-2024 The MAME Team