Skip to content

[VCPKG baseline][libmicrohttpd] Change the installed header file path#12445

Closed
JackBoosY wants to merge 2 commits intomicrosoft:masterfrom
JackBoosY:dev/jack/fix_baseline_20200716
Closed

[VCPKG baseline][libmicrohttpd] Change the installed header file path#12445
JackBoosY wants to merge 2 commits intomicrosoft:masterfrom
JackBoosY:dev/jack/fix_baseline_20200716

Conversation

@JackBoosY
Copy link
Contributor

@JackBoosY JackBoosY commented Jul 16, 2020

Some header files in nrf-ble-driver include platform.h, and this file exists in both nrf-ble-driver and libmicrohttpd. This leads to abnormal usage.

Change the installed header file path to include/libmicrohttpd to avoid file conflicts with nrf-ble-driver.

Related: #12434 #12084 #11208 #11208 #12342 etc.

@JackBoosY JackBoosY added category:port-bug The issue is with a library, which is something the port should already support info:internal labels Jul 16, 2020
@JackBoosY JackBoosY marked this pull request as ready for review July 16, 2020 09:15
@JackBoosY JackBoosY requested a review from PhoebeHui July 16, 2020 09:16
@PhoebeHui
Copy link
Contributor

Duplicated to PR #12455

Copy link
Contributor

@ras0219-msft ras0219-msft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is superceded by #12455

file(GLOB MICROHTTPD_HEADERS ${SOURCE_PATH}/src/include/*h)
foreach(MICROHTTPD_HEADER ${MICROHTTPD_HEADERS})
file(COPY ${MICROHTTPD_HEADER} DESTINATION ${CURRENT_PACKAGES_DIR}/include)
file(COPY ${MICROHTTPD_HEADER} DESTINATION ${CURRENT_PACKAGES_DIR}/include/libmicrohttpd)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moving the headers into a subfolder would break all existing users; it turns out that the problematic headers are not intended for installation, so the better solution is to simply not install those.

See #12455

@@ -1,4 +1,5 @@
Source: nrf-ble-driver
Version: 4.1.2
Port-Version: 1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Due to changes in the CI system, we no longer need to trigger rebuilds of failed ports this way.

@JackBoosY JackBoosY closed this Jul 17, 2020
@JackBoosY JackBoosY deleted the dev/jack/fix_baseline_20200716 branch July 17, 2020 01:52
@JackBoosY JackBoosY mentioned this pull request Jul 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category:port-bug The issue is with a library, which is something the port should already support

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants