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

[libspatialindex] Update to 1.9.3 #17506

Merged
merged 12 commits into from
May 26, 2021

Conversation

longhuan2018
Copy link
Contributor

update libspatialindex to 1.9.3

@NancyLi1013 NancyLi1013 self-assigned this Apr 26, 2021
@NancyLi1013 NancyLi1013 added the category:port-update The issue is with a library, which is requesting update new revision label Apr 26, 2021
ports/libspatialindex/portfile.cmake Outdated Show resolved Hide resolved
ports/libspatialindex/portfile.cmake Outdated Show resolved Hide resolved
@NancyLi1013
Copy link
Contributor

Failed on x64-windows-static and x64-windows-static-md:

DLLs should not be present in a static build, but the following DLLs were found:

    D:/packages/libspatialindex_x64-windows-static/bin/spatialindex-64.dll
    D:/packages/libspatialindex_x64-windows-static/bin/spatialindex_c-64.dll
    D:/packages/libspatialindex_x64-windows-static/debug/bin/spatialindex-64.dll
    D:/packages/libspatialindex_x64-windows-static/debug/bin/spatialindex_c-64.dll

There should be no bin\ directory in a static build, but D:\packages\libspatialindex_x64-windows-static\bin is present.
There should be no debug\bin\ directory in a static build, but D:\packages\libspatialindex_x64-windows-static\debug\bin is present.
If the creation of bin\ and/or debug\bin\ cannot be disabled, use this in the portfile to remove them

    if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
        file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
    endif()

Found 2 error(s). Please correct the portfile:

ports/libspatialindex/portfile.cmake Outdated Show resolved Hide resolved
ports/libspatialindex/portfile.cmake Outdated Show resolved Hide resolved
longhuan2018 and others added 3 commits April 30, 2021 09:52
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
ports/libspatialindex/portfile.cmake Outdated Show resolved Hide resolved
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
@NancyLi1013
Copy link
Contributor

Please run vcpkg x-add-version libspatialindex to solve the failures on x86-windows.

@NancyLi1013 NancyLi1013 added info:reviewed Pull Request changes follow basic guidelines and removed requires:author-response labels May 8, 2021
@NancyLi1013
Copy link
Contributor

LGTM now, thanks for your update @longhuan2018.

m-kuhn added a commit to opengisch/libspatialindex that referenced this pull request May 22, 2021
m-kuhn added a commit to opengisch/libspatialindex that referenced this pull request May 22, 2021
m-kuhn added a commit to opengisch/libspatialindex that referenced this pull request May 22, 2021
@m-kuhn
Copy link
Contributor

m-kuhn commented May 22, 2021

@longhuan2018 I created a PR upstream in anticipation of an easier upgrade path in the future

m-kuhn added a commit to opengisch/libspatialindex that referenced this pull request May 24, 2021
@strega-nil-ms
Copy link
Contributor

LGTM, thanks @longhuan2018 :)

@strega-nil-ms strega-nil-ms merged commit 8c242b4 into microsoft:master May 26, 2021
m-kuhn added a commit to opengisch/libspatialindex that referenced this pull request Jun 14, 2022
hobu pushed a commit to libspatialindex/libspatialindex that referenced this pull request Jun 17, 2022
* Fix building static libs

Port of microsoft/vcpkg#17506

* Add static builds to ci

* Fix win vars

* Test for static builds

* Update test.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-update The issue is with a library, which is requesting update new revision info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants