Skip to content

Commit

Permalink
prefer Visual C++ over Clang (on Windows)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Feb 4, 2025
1 parent 3fe6569 commit aad1ca9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,10 @@ model {
}

toolChains { // prioritize among the native toolchains
//visualCpp(VisualCpp) // to prefer Visual C++ over Clang
visualCpp(VisualCpp)
//gcc(Gcc) // to prefer Gcc over Clang
clang(Clang) // the default when not cross-compiling
clang(Clang)
gcc(Gcc)
visualCpp(VisualCpp)

gcc10Arm(Gcc) { // used when cross-compiling on Linux
target('Linux_ARM64') {
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/testjoltjni/app/samples/SmokeTestAll.java
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ private static void smokeTestAll() {

// water package:
smokeTest(new BoatTest());
//smokeTest(new WaterShapeTest()); // crash with Clang on Windows (?)
smokeTest(new WaterShapeTest());
}

/**
Expand Down

0 comments on commit aad1ca9

Please sign in to comment.