Skip to content

Commit

Permalink
Add new ports esdcan and sqlite3 with tool support (#13)
Browse files Browse the repository at this point in the history
* Add new ports esdcan and sqlite3 with tool support

Add two new ports: 
* esdcan-binary, to streamline the use of CAN devices produced by ESD ( https://esd.eu/en ) on Windows 
* sqlite3[core,tool] qt5base depends on sqlite3, so with only its `core` features this port was already being installed. We also add the  compilation of the `tool` feature because some ports (`vtk`, `pcl`) indirectly depend on this feature, meaning that if a user wanted to install this port on the pre-compiled vcpkg, this would trigger a rebuild of qt5 and all dependent packages (see for example https://github.com/robotology/assistive-rehab/pull/273/checks?check_run_id=531816621). By already installing `sqlite3[core,tool]`, we ensure that those ports get installed directly without trigger slow and error-prone port rebuilds.
  • Loading branch information
traversaro authored Mar 25, 2020
1 parent beba2fb commit 98baac8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
shell: bash
run: |
# TinyXML is not installed as a workaround for https://github.com/robotology/ycm/pull/296
C:/robotology/vcpkg/vcpkg.exe --overlay-ports=C:/robotology-vcpkg-binary-ports install --triplet x64-windows ace freeglut gsl eigen3 ode openssl libxml2 eigen3 opencv3 matio sdl1 sdl2 qt5-base ipopt-binary qt5-declarative qt5-multimedia qt5-quickcontrols2
C:/robotology/vcpkg/vcpkg.exe --overlay-ports=C:/robotology-vcpkg-binary-ports install --triplet x64-windows ace freeglut gsl eigen3 esdcan-binary ode openssl libxml2 eigen3 opencv3 matio sdl1 sdl2 qt5-base ipopt-binary qt5-declarative qt5-multimedia qt5-quickcontrols2 sqlite3[core,tool]
# Remove temporary files https://github.com/Microsoft/vcpkg/blob/master/docs/about/faq.md#how-can-i-remove-temporary-files
rm -rf C:/robotology/vcpkg/buildtrees
rm -rf C:/robotology/vcpkg/packages
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ The following libraries (and their dependencies) are built using `vcpkg`:
* `qt5-declarative`
* `qt5-multimedia`
* `qt5-quickcontrols2`
* `sqlite3[core,tool]`

furthermore, the `ipopt-binary` from [`robotology-vcpkg-binary-ports`](https://github.com/robotology-dependencies/robotology-vcpkg-binary-ports) is also installed.
furthermore, the `ipopt-binary` and the `esdcan-binary` from [`robotology-vcpkg-binary-ports`](https://github.com/robotology-dependencies/robotology-vcpkg-binary-ports) is also installed.

The binaries are generated by installing vcpkg in `C:/vcpkg-robotology`, installing the selected ports, and compressing the vcpkg-robotology directory in a `.zip` archive.
The binaries are generated by installing vcpkg in `C:/robotology/vcpkg`, installing the selected ports, and compressing the vcpkg-robotology directory in a `.zip` archive.

See [releases](https://github.com/robotology-playground/robotology-superbuild-dependencies/releases) to download the archives.
See [releases](https://github.com/robotology/robotology-superbuild-dependencies-vcpkg/releases) to download the archives.

0 comments on commit 98baac8

Please sign in to comment.