Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow override of compiler flags #90

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/main/java/org/bytedeco/javacpp/tools/Builder.java
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,9 @@ int compile(String sourceFilename, String outputFilename, ClassProperties proper
command.add(sourceFilename);

Collection<String> allOptions = properties.get("platform.compiler.*");
if (allOptions.isEmpty()) {
allOptions.add("default");
}
// Always include the default
allOptions.add("default");

for (String s : allOptions) {
if (s == null || s.length() == 0) {
continue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ platform.includepath.prefix=-I
platform.includepath=sources/cxx-stl/gnu-libstdc++/4.9/include/:sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi/include/
platform.compiler=toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++
platform.compiler.cpp11=-std=c++11
platform.compiler.default=-march=armv5te -mtune=xscale -msoft-float
platform.compiler.debug=-fno-omit-frame-pointer -g
platform.compiler.default=-march=armv5te -mtune=xscale -msoft-float -DANDROID -ffunction-sections -funwind-tables -fstack-protector -funswitch-loops -finline-limit=300 -Wall -O3
platform.compiler.fastfpu=-march=armv7-a -mfloat-abi=softfp -mfpu=neon -ffast-math -Wl,--fix-cortex-a8
platform.compiler.nodeprecated=-Wno-deprecated-declarations
platform.compiler.output=-Wl,-rpath,lib/ -DANDROID -ffunction-sections -funwind-tables -fstack-protector -funswitch-loops -finline-limit=300 -Wall -O3 -nodefaultlibs -fPIC -shared -Wl,--no-undefined -s -o\u0020
platform.compiler.noexceptions=-fno-exceptions -fno-rtti
platform.compiler.output=-Wl,-rpath,lib/ -nodefaultlibs -fPIC -shared -Wl,--no-undefined -s -o\u0020
platform.linkpath.prefix=-L
platform.linkpath=sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi/
platform.link.prefix=-l
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ platform.includepath.prefix=-I
platform.includepath=sources/cxx-stl/gnu-libstdc++/4.9/include/:sources/cxx-stl/gnu-libstdc++/4.9/libs/arm64-v8a/include/
platform.compiler=toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-g++
platform.compiler.cpp11=-std=c++11
platform.compiler.default=
platform.compiler.debug=-fno-omit-frame-pointer -g
platform.compiler.default=-DANDROID -ffunction-sections -funwind-tables -fstack-protector -funswitch-loops -finline-limit=300 -Wall -O3
platform.compiler.fastfpu=-ffast-math
platform.compiler.nodeprecated=-Wno-deprecated-declarations
platform.compiler.output=-Wl,-rpath,lib/ -DANDROID -ffunction-sections -funwind-tables -fstack-protector -funswitch-loops -finline-limit=300 -Wall -O3 -nodefaultlibs -fPIC -shared -Wl,--no-undefined -s -o\u0020
platform.compiler.noexceptions=-fno-exceptions -fno-rtti
platform.compiler.output=-Wl,-rpath,lib/ -nodefaultlibs -fPIC -shared -Wl,--no-undefined -s -o\u0020
platform.linkpath.prefix=-L
platform.linkpath=sources/cxx-stl/gnu-libstdc++/4.9/libs/arm64-v8a/
platform.link.prefix=-l
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ platform.includepath.prefix=-I
platform.includepath=sources/cxx-stl/gnu-libstdc++/4.9/include/:sources/cxx-stl/gnu-libstdc++/4.9/libs/x86/include/
platform.compiler=toolchains/x86-4.9/prebuilt/linux-x86_64/bin/i686-linux-android-g++
platform.compiler.cpp11=-std=c++11
platform.compiler.default=
platform.compiler.debug=-fno-omit-frame-pointer -g
platform.compiler.default=-DANDROID -ffunction-sections -funwind-tables -fstack-protector -funswitch-loops -finline-limit=300 -Wall -O3
platform.compiler.fastfpu=-msse3 -ffast-math -mfpmath=sse
platform.compiler.nodeprecated=-Wno-deprecated-declarations
platform.compiler.output=-Wl,-rpath,lib/ -DANDROID -ffunction-sections -funwind-tables -fstack-protector -funswitch-loops -finline-limit=300 -Wall -O3 -nodefaultlibs -fPIC -shared -Wl,--no-undefined -s -o\u0020
platform.compiler.noexceptions=-fno-exceptions -fno-rtti
platform.compiler.output=-Wl,-rpath,lib/ -nodefaultlibs -fPIC -shared -Wl,--no-undefined -s -o\u0020
platform.linkpath.prefix=-L
platform.linkpath=sources/cxx-stl/gnu-libstdc++/4.9/libs/x86/
platform.link.prefix=-l
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ platform.includepath.prefix=-I
platform.includepath=sources/cxx-stl/gnu-libstdc++/4.9/include/:sources/cxx-stl/gnu-libstdc++/4.9/libs/x86_64/include/
platform.compiler=toolchains/x86_64-4.9/prebuilt/linux-x86_64/bin/x86_64-linux-android-g++
platform.compiler.cpp11=-std=c++11
platform.compiler.default=
platform.compiler.debug=-fno-omit-frame-pointer -g
platform.compiler.default=-DANDROID -ffunction-sections -funwind-tables -fstack-protector -funswitch-loops -finline-limit=300 -Wall -O3
platform.compiler.fastfpu=-msse3 -ffast-math
platform.compiler.nodeprecated=-Wno-deprecated-declarations
platform.compiler.output=-Wl,-rpath,lib/ -DANDROID -ffunction-sections -funwind-tables -fstack-protector -funswitch-loops -finline-limit=300 -Wall -O3 -nodefaultlibs -fPIC -shared -Wl,--no-undefined -s -o\u0020
platform.compiler.noexceptions=-fno-exceptions -fno-rtti
platform.compiler.output=-Wl,-rpath,lib/ -nodefaultlibs -fPIC -shared -Wl,--no-undefined -s -o\u0020
platform.linkpath.prefix=-L
platform.linkpath=sources/cxx-stl/gnu-libstdc++/4.9/libs/x86_64/
platform.link.prefix=-l
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ platform.includepath.prefix=-I
platform.includepath=
platform.compiler=g++
platform.compiler.cpp11=-std=c++11
platform.compiler.default=
platform.compiler.debug=-fno-omit-frame-pointer -g
platform.compiler.default=-Wall -O3
platform.compiler.fastfpu=-ffast-math
platform.compiler.nodeprecated=
platform.compiler.output=-Wall -O3 -fPIC -shared -s -o\u0020
platform.compiler.noexceptions=-fno-exceptions -fno-rtti
platform.compiler.output=-fPIC -shared -s -o\u0020
platform.linkpath.prefix=-L
platform.linkpath.prefix2=-Wl,-R
platform.linkpath=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ platform.includepath.prefix=-I
platform.includepath=
platform.compiler=clang++
platform.compiler.cpp11=-std=c++11
platform.compiler.default=
platform.compiler.debug=-fno-omit-frame-pointer -g
platform.compiler.default=-arch armv6 -arch armv7 -Wall -O3
platform.compiler.fastfpu=-ffast-math
platform.compiler.nodeprecated=-Wno-deprecated-declarations
platform.compiler.output=-arch armv6 -arch armv7 -Wall -O3 -fPIC -miphoneos-version-min=5.0 -c -o\u0020
platform.compiler.noexceptions=-fno-exceptions -fno-rtti
platform.compiler.output=-fPIC -miphoneos-version-min=5.0 -c -o\u0020
platform.linkpath.prefix=-L
platform.linkpath=
platform.link.prefix=-l
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ platform.includepath.prefix=-I
platform.includepath=
platform.compiler=clang++
platform.compiler.cpp11=-std=c++11
platform.compiler.default=
platform.compiler.debug=-fno-omit-frame-pointer -g
platform.compiler.default=-arch i686 -Wall -O3
platform.compiler.fastfpu=-msse3 -ffast-math -mfpmath=sse
platform.compiler.nodeprecated=-Wno-deprecated-declarations
platform.compiler.output=-arch i686 -Wall -O3 -fPIC -mios-simulator-version-min=5.0 -c -o\u0020
platform.compiler.noexceptions=-fno-exceptions -fno-rtti
platform.compiler.output= -fPIC -mios-simulator-version-min=5.0 -c -o\u0020
platform.linkpath.prefix=-L
platform.linkpath=
platform.link.prefix=-l
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ platform.includepath.prefix=-I
platform.includepath=
platform.compiler=g++
platform.compiler.cpp11=-std=c++11
platform.compiler.default=-march=armv5te
platform.compiler.debug=-fno-omit-frame-pointer -g
platform.compiler.default=-march=armv5te -Wall -O3
platform.compiler.fastfpu=-march=armv7-a -mfpu=neon -ffast-math
platform.compiler.nodeprecated=-Wno-deprecated-declarations
platform.compiler.output=-Wl,-rpath,$ORIGIN/ -Wall -O3 -fPIC -shared -s -o\u0020
platform.compiler.noexceptions=-fno-exceptions -fno-rtti
platform.compiler.output=-Wl,-rpath,$ORIGIN/ -fPIC -shared -s -o\u0020
platform.linkpath.prefix=-L
platform.linkpath.prefix2=-Wl,-rpath,
platform.linkpath=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ platform.includepath.prefix=-I
platform.includepath=
platform.compiler=g++
platform.compiler.cpp11=-std=c++11
platform.compiler.default=
platform.compiler.debug=-fno-omit-frame-pointer -g
platform.compiler.default=-Wall -O3
platform.compiler.fastfpu=-ffast-math
platform.compiler.nodeprecated=-Wno-deprecated-declarations
platform.compiler.output=-Wl,-rpath,$ORIGIN/ -Wall -O3 -fPIC -shared -s -o\u0020
platform.compiler.noexceptions=-fno-exceptions -fno-rtti
platform.compiler.output=-Wl,-rpath,$ORIGIN/ -fPIC -shared -s -o\u0020
platform.linkpath.prefix=-L
platform.linkpath.prefix2=-Wl,-rpath,
platform.linkpath=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ platform.includepath.prefix=-I
platform.includepath=
platform.compiler=g++
platform.compiler.cpp11=-std=c++11
platform.compiler.default=-march=armv7
platform.compiler.debug=-fno-omit-frame-pointer -g
platform.compiler.default=-march=armv7 -Wall -O3
platform.compiler.fastfpu=-march=armv7-a -mfpu=neon -ffast-math
platform.compiler.nodeprecated=-Wno-deprecated-declarations
platform.compiler.output=-Wl,-rpath,$ORIGIN/ -Wall -O3 -fPIC -shared -s -o\u0020
platform.compiler.noexceptions=-fno-exceptions -fno-rtti
platform.compiler.output=-Wl,-rpath,$ORIGIN/ -fPIC -shared -s -o\u0020
platform.linkpath.prefix=-L
platform.linkpath.prefix2=-Wl,-rpath,
platform.linkpath=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ platform.includepath.prefix=-I
platform.includepath=
platform.compiler=nvcc
platform.compiler.cpp11=-std=c++11
platform.compiler.default=
platform.compiler.debug=-fno-omit-frame-pointer -g
platform.compiler.default=-Xcompiler=-march=i686,-m32,-Wall,-O3
platform.compiler.fastfpu=-Xcompiler=-msse3,-ffast-math,-mfpmath=sse
platform.compiler.nodeprecated=-Xcompiler=-Wno-deprecated-declarations
platform.compiler.output=-Xlinker,-rpath,$ORIGIN/ -Xptxas=-v -Xcompiler=-march=i686,-m32,-Wall,-O3,-fPIC -Xlinker=-s -shared -o\u0020
platform.compiler.noexceptions=-Xcompiler=-fno-exceptions,-fno-rtti
platform.compiler.output=-Xlinker,-rpath,$ORIGIN/ -Xptxas=-v -Xcompiler=-fPIC -Xlinker=-s -shared -o\u0020
platform.linkpath.prefix=-L
platform.linkpath.prefix2=-Xlinker=-rpath,
platform.linkpath=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ platform.includepath.prefix=-I
platform.includepath=
platform.compiler=g++
platform.compiler.cpp11=-std=c++11
platform.compiler.default=
platform.compiler.fastfpu=-msse3 -ffast-math -mfpmath=sse
platform.compiler.debug=-fno-omit-frame-pointer -g
platform.compiler.default=-march=i686 -m32 -Wall -O3
platform.compiler.fastfpu=-msse3 -ffast-math
platform.compiler.nodeprecated=-Wno-deprecated-declarations
platform.compiler.output=-Wl,-rpath,$ORIGIN/ -march=i686 -m32 -Wall -O3 -fPIC -shared -s -o\u0020
platform.compiler.noexceptions=-fno-exceptions -fno-rtti
platform.compiler.output=-Wl,-rpath,$ORIGIN/ -Wl,-z,noexecstack -fPIC -shared -s -o\u0020
platform.linkpath.prefix=-L
platform.linkpath.prefix2=-Wl,-rpath,
platform.linkpath=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ platform.includepath.prefix=-I
platform.includepath=
platform.compiler=nvcc
platform.compiler.cpp11=-std=c++11
platform.compiler.default=
platform.compiler.debug=-fno-omit-frame-pointer -g
platform.compiler.default=-Xcompiler=-march=x86-64,-m64,-Wall,-O3
platform.compiler.fastfpu=-Xcompiler=-msse3,-ffast-math
platform.compiler.nodeprecated=-Xcompiler=-Wno-deprecated-declarations
platform.compiler.output=-Xlinker=-rpath,$ORIGIN/ -Xptxas=-v -Xcompiler=-march=x86-64,-m64,-Wall,-O3,-fPIC -Xlinker=-s -shared -o\u0020
platform.compiler.noexceptions=-Xcompiler=-fno-exceptions,-fno-rtti
platform.compiler.output=-Xlinker=-rpath,$ORIGIN/ -Xptxas=-v -Xcompiler=-fPIC -Xlinker=-s -shared -o\u0020
platform.linkpath.prefix=-L
platform.linkpath.prefix2=-Xlinker=-rpath,
platform.linkpath=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ platform.includepath.prefix=-I
platform.includepath=
platform.compiler=g++
platform.compiler.cpp11=-std=c++11
platform.compiler.default=
platform.compiler.debug=-fno-omit-frame-pointer -g
platform.compiler.default=-march=x86-64 -m64 -Wall -O3
platform.compiler.fastfpu=-msse3 -ffast-math
platform.compiler.nodeprecated=-Wno-deprecated-declarations
platform.compiler.output=-Wl,-rpath,$ORIGIN/ -march=x86-64 -m64 -Wall -O3 -fPIC -shared -s -o\u0020
platform.compiler.noexceptions=-fno-exceptions -fno-rtti
platform.compiler.output=-Wl,-rpath,$ORIGIN/ -Wl,-z,noexecstack -fPIC -shared -s -o\u0020
platform.linkpath.prefix=-L
platform.linkpath.prefix2=-Wl,-rpath,
platform.linkpath=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ platform.includepath.prefix=-I
platform.includepath=
platform.compiler=nvcc
platform.compiler.cpp11=-std=c++11
platform.compiler.default=
platform.compiler.debug=-fno-omit-frame-pointer -g
platform.compiler.default=-Xcompiler=-march=i686,-m32,-Wall,-O3
platform.compiler.fastfpu=-Xcompiler=-msse3,-ffast-math,-mfpmath=sse
platform.compiler.nodeprecated=-Xcompiler=-Wno-deprecated-declarations
platform.compiler.output=-Xlinker=-rpath,@loader_path/. -Xptxas=-v -Xcompiler=-march=i686,-m32,-Wall,-O3,-fPIC,-undefined,dynamic_lookup -shared -o\u0020
platform.compiler.noexceptions=-Xcompiler=-fno-exceptions,-fno-rtti
platform.compiler.output=-Xlinker=-rpath,@loader_path/. -Xptxas=-v -Xcompiler=-fPIC,-undefined,dynamic_lookup -shared -o\u0020
platform.linkpath.prefix=-L
platform.linkpath.prefix2=-Xlinker=-rpath,
platform.linkpath=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ platform.includepath.prefix=-I
platform.includepath=
platform.compiler=clang++
platform.compiler.cpp11=-std=c++11
platform.compiler.default=
platform.compiler.debug=-fno-omit-frame-pointer -g
platform.compiler.default=-march=i686 -m32 -Wall -O3
platform.compiler.fastfpu=-msse3 -ffast-math -mfpmath=sse
platform.compiler.nodeprecated=-Wno-deprecated-declarations
platform.compiler.output=-Wl,-rpath,@loader_path/. -march=i686 -m32 -Wall -O3 -fPIC -dynamiclib -undefined dynamic_lookup -o\u0020
platform.compiler.noexceptions=-fno-exceptions -fno-rtti
platform.compiler.output=-Wl,-rpath,@loader_path/. -fPIC -dynamiclib -undefined dynamic_lookup -o\u0020
platform.linkpath.prefix=-L
platform.linkpath.prefix2=-Wl,-rpath,
platform.linkpath=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ platform.includepath.prefix=-I
platform.includepath=
platform.compiler=nvcc
platform.compiler.cpp11=-std=c++11
platform.compiler.default=
platform.compiler.default=-Xcompiler=-march=x86-64,-m64,-Wall,-O3
platform.compiler.debug=-fno-omit-frame-pointer -g
platform.compiler.fastfpu=-Xcompiler=-msse3,-ffast-math
platform.compiler.nodeprecated=-Xcompiler=-Wno-deprecated-declarations
platform.compiler.output=-Xlinker=-rpath,@loader_path/. -Xptxas=-v -Xcompiler=-march=x86-64,-m64,-Wall,-O3,-fPIC,-undefined,dynamic_lookup -shared -o\u0020
platform.compiler.noexceptions=-Xcompiler=-fno-exceptions,-fno-rtti
platform.compiler.output=-Xlinker=-rpath,@loader_path/. -Xptxas=-v -Xcompiler=-fPIC,-undefined,dynamic_lookup -shared -o\u0020
platform.linkpath.prefix=-L
platform.linkpath.prefix2=-Xlinker=-rpath,
platform.linkpath=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ platform.includepath.prefix=-I
platform.includepath=
platform.compiler=clang++
platform.compiler.cpp11=-std=c++11
platform.compiler.default=
platform.compiler.default=-march=x86-64 -m64 -Wall -O3
platform.compiler.debug=-fno-omit-frame-pointer -g
platform.compiler.fastfpu=-msse3 -ffast-math
platform.compiler.nodeprecated=-Wno-deprecated-declarations
platform.compiler.output=-Wl,-rpath,@loader_path/. -march=x86-64 -m64 -Wall -O3 -fPIC -dynamiclib -undefined dynamic_lookup -o\u0020
platform.compiler.noexceptions=-fno-exceptions -fno-rtti
platform.compiler.output=-Wl,-rpath,@loader_path/. -fPIC -dynamiclib -undefined dynamic_lookup -o\u0020
platform.linkpath.prefix=-L
platform.linkpath.prefix2=-Wl,-rpath,
platform.linkpath=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ platform.includepath.prefix=-I
platform.includepath=
platform.compiler=nvcc
platform.compiler.cpp11=-std=c++11
platform.compiler.default=
platform.compiler.default=-Xcompiler=/W3,/Oi,/O2,/EHsc,/Gy,/GL,/Gm-,/MP4
platform.compiler.debug=-Xcompiler=/DEBUG,/Zi,/Oy-
platform.compiler.fastfpu=-Xcompiler=/arch:SSE2,/fp:fast
platform.compiler.nodeprecated=-Xcompiler=/wd4996
platform.compiler.output=-Xptxas=-v -Xcompiler=/W3,/Oi,/O2,/EHsc,/Gy,/GL,/MD,/LD -shared -o\u0020
platform.compiler.noexceptions=-Xcompiler=/GR-
platform.compiler.output=-Xptxas=-v -Xcompiler=/MT,/LD -shared -o\u0020
platform.linkpath.prefix=-L
platform.linkpath=
platform.link.prefix=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ platform.includepath.prefix=-I
platform.includepath=
platform.compiler=g++
platform.compiler.cpp11=-std=c++11
platform.compiler.default=
platform.compiler.default=-march=i686 -m32 -Wall -O3
platform.compiler.debug=-fno-omit-frame-pointer -g
platform.compiler.fastfpu=-msse3 -ffast-math -mfpmath=sse
platform.compiler.nodeprecated=-Wno-deprecated-declarations
platform.compiler.output=-D_JNI_IMPLEMENTATION_ -Wl,--kill-at -march=i686 -m32 -Wall -O3 -fPIC -shared -s -o\u0020
platform.compiler.noexceptions=-fno-exceptions -fno-rtti
platform.compiler.output=-D_JNI_IMPLEMENTATION_ -Wl,--kill-at -fPIC -shared -s -o\u0020
platform.linkpath.prefix=-L
platform.linkpath=
platform.link.prefix=-l
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ platform.includepath.prefix=/I
platform.includepath=
platform.compiler=cl
platform.compiler.cpp11=
platform.compiler.default=
platform.compiler.fastfpu=/arch:SSE2 /fp:fast
platform.compiler.debug=/DEBUG /Zi /Oy-
platform.compiler.default=/nologo /W3 /Oi /O2 /EHsc /Gy /GL /Gm- /MP4
platform.compiler.fastfpu=/fp:fast
platform.compiler.nodeprecated=/wd4996
platform.compiler.output=/W3 /Oi /O2 /EHsc /Gy /GL /MD /LD /link /OUT:
platform.compiler.noexceptions=/GR-
platform.compiler.output=/MT /LD /link /INCREMENTAL:NO /OUT:
platform.linkpath.prefix=/LIBPATH:
platform.linkpath=
platform.link.prefix=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ platform.includepath=
platform.compiler=nvcc
platform.compiler.cpp11=-std=c++11
platform.compiler.default=
platform.compiler.debug=-Xcompiler=/DEBUG,/Zi,/Oy-
platform.compiler.fastfpu=-Xcompiler=/fp:fast
platform.compiler.nodeprecated=-Xcompiler=/wd4996
platform.compiler.noexceptions=-Xcompiler=/GR-
platform.compiler.output=-Xptxas=-v -Xcompiler=/W3,/Oi,/O2,/EHsc,/Gy,/GL,/MD,/LD -shared -o\u0020
platform.linkpath.prefix=-L
platform.linkpath=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ platform.includepath.prefix=-I
platform.includepath=
platform.compiler=g++
platform.compiler.cpp11=-std=c++11
platform.compiler.default=
platform.compiler.default=-march=x86-64 -m64 -Wall -O3
platform.compiler.debug=-fno-omit-frame-pointer -g
platform.compiler.fastfpu=-msse3 -ffast-math
platform.compiler.nodeprecated=-Wno-deprecated-declarations
platform.compiler.output=-D_JNI_IMPLEMENTATION_ -Wl,--kill-at -march=x86-64 -m64 -Wall -O3 -fPIC -shared -s -o\u0020
platform.compiler.noexceptions=-fno-exceptions -fno-rtti
platform.compiler.output=-D_JNI_IMPLEMENTATION_ -Wl,--kill-at -fPIC -shared -s -o\u0020
platform.linkpath.prefix=-L
platform.linkpath=
platform.link.prefix=-l
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,17 @@ platform.includepath.prefix=/I
platform.includepath=
platform.compiler=cl
platform.compiler.cpp11=
platform.compiler.default=
platform.compiler.debug=/DEBUG /Zi /Oy-
platform.compiler.default=/nologo /W3 /Oi /O2 /EHsc /Gy /GL /Gm- /MP4
platform.compiler.fastfpu=/fp:fast
platform.compiler.nodeprecated=/wd4996
platform.compiler.output=/W3 /Oi /O2 /EHsc /Gy /GL /MD /LD /link /OUT:
platform.compiler.noexceptions=/GR-
platform.compiler.output=/MT /LD /link /INCREMENTAL:NO /OUT:
platform.linkpath.prefix=/LIBPATH:
platform.linkpath=
platform.link.prefix=
platform.link.suffix=.lib
platform.link=
platform.library.prefix=
platform.library.suffix=.dll