[CDRIVER-2005] release-compile task on Evergreen Windows variants builds debug version of driver Created: 28/Jan/17 Updated: 03/May/17 Resolved: 15/Mar/17 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | 1.7.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | J Rassi | Assignee: | Hannes Magnusson |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Description |
|
From looking at the build logs of a recent "release-compile" task on the "Windows (VS 2015)" builder, it looks like a debug build of the driver is being built by mistake. The logs show the compiler flags "/MDd" and "/D _DEBUG" being passed to cl.exe, and the value of ${CMAKE_CFG_INTDIR} appears to be "Debug". Perhaps the "/p:Configuration=Release" option needs to be passed to msbuild.exe? |
| Comments |
| Comment by Githook User [ 15/Mar/17 ] |
|
Author: {u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}Message: |
| Comment by Githook User [ 15/Mar/17 ] |
|
Author: {u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}Message: |
| Comment by Githook User [ 15/Mar/17 ] |
|
Author: {u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}Message: |
| Comment by Githook User [ 13/Mar/17 ] |
|
Author: {u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}Message: |
| Comment by Hannes Magnusson [ 24/Feb/17 ] |
|
This should be fixed in libbson now. |
| Comment by Githook User [ 24/Feb/17 ] |
|
Author: {u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}Message: |
| Comment by Githook User [ 24/Feb/17 ] |
|
Author: {u'username': u'bjori', u'name': u'Hannes Magn\xfasson', u'email': u'bjori@php.net'}Message: |
| Comment by Githook User [ 24/Feb/17 ] |
|
Author: {u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}Message: |
| Comment by Hannes Magnusson [ 28/Jan/17 ] |
|
The release-compile refers to using release archives, not git checkouts, in this case, not specifically not-debug-compiler-flags (although we don't specifically enable debug mode in the autotools version). The cmake options should be updated to generate a release manifest if debug builds are the default. |