build: linear algebra switched to wg21-linear_algebra/0.7.2

This commit is contained in:
Mateusz Pusz
2021-09-09 09:13:10 +02:00
parent 74ec93bda3
commit 1ebf72e041
6 changed files with 9 additions and 10 deletions

View File

@@ -74,8 +74,8 @@ class UnitsConan(ConanFile):
def build_requirements(self): def build_requirements(self):
if self._run_tests: if self._run_tests:
self.build_requires("catch2/2.13.4", force_host_context=True) # TODO replace with test_requires in Conan 2.0 self.build_requires("catch2/2.13.4", force_host_context=True) # TODO replace with test_requires in Conan 2.0
self.build_requires("linear_algebra/0.7.1@conan-oss/stable", force_host_context=True) # TODO replace with test_requires in Conan 2.0 self.build_requires("wg21-linear_algebra/0.7.2", force_host_context=True) # TODO replace with test_requires in Conan 2.0
if self.options.build_docs: if self.options.build_docs:
self.build_requires("doxygen/1.9.2") self.build_requires("doxygen/1.9.2")

View File

@@ -8,7 +8,7 @@
- fix: account for different dimensions in `quantity_point_cast`'s constraint - fix: account for different dimensions in `quantity_point_cast`'s constraint
- build: Minimum Conan version changed to 1.40 - build: Minimum Conan version changed to 1.40
- build: doxygen updated to 1.9.2 - build: doxygen updated to 1.9.2
- build: linear_algebra updated to 0.7.1 - build: linear algebra switched to wg21-linear_algebra/0.7.2
- **0.7.0 May 11, 2021** - **0.7.0 May 11, 2021**
- (!) refactor: `ScalableNumber` renamed to `Representation` - (!) refactor: `ScalableNumber` renamed to `Representation`

View File

@@ -363,7 +363,6 @@ in **mp-units** repository, you should:
.. code-block:: shell .. code-block:: shell
conan remote add linear-algebra https://twonington.jfrog.io/artifactory/api/conan/conan-oss
git clone https://github.com/mpusz/units.git && cd units git clone https://github.com/mpusz/units.git && cd units
pip3 install -r docs/requirements.txt pip3 install -r docs/requirements.txt
mkdir units/build && cd units/build mkdir units/build && cd units/build

View File

@@ -51,7 +51,7 @@ if(NOT UNITS_LIBCXX)
UNITS_NO_REFERENCES UNITS_NO_REFERENCES
) )
find_package(linear_algebra CONFIG REQUIRED) find_package(wg21_linear_algebra CONFIG REQUIRED)
add_example(linear_algebra mp-units::core-fmt mp-units::core-io mp-units::si) add_example(linear_algebra mp-units::core-fmt mp-units::core-io mp-units::si)
target_link_libraries(linear_algebra-aliases PRIVATE linear_algebra::linear_algebra) target_link_libraries(linear_algebra-aliases PRIVATE wg21_linear_algebra::wg21_linear_algebra)
endif() endif()

View File

@@ -50,7 +50,7 @@ if(NOT UNITS_LIBCXX)
UNITS_NO_ALIASES UNITS_NO_ALIASES
) )
find_package(linear_algebra CONFIG REQUIRED) find_package(wg21_linear_algebra CONFIG REQUIRED)
add_example(linear_algebra mp-units::core-fmt mp-units::core-io mp-units::si) add_example(linear_algebra mp-units::core-fmt mp-units::core-io mp-units::si)
target_link_libraries(linear_algebra-literals PRIVATE linear_algebra::linear_algebra) target_link_libraries(linear_algebra-literals PRIVATE wg21_linear_algebra::wg21_linear_algebra)
endif() endif()

View File

@@ -50,7 +50,7 @@ if(NOT UNITS_LIBCXX)
UNITS_NO_ALIASES UNITS_NO_ALIASES
) )
find_package(linear_algebra CONFIG REQUIRED) find_package(wg21_linear_algebra CONFIG REQUIRED)
add_example(linear_algebra mp-units::core-fmt mp-units::core-io mp-units::si) add_example(linear_algebra mp-units::core-fmt mp-units::core-io mp-units::si)
target_link_libraries(linear_algebra-references PRIVATE linear_algebra::linear_algebra) target_link_libraries(linear_algebra-references PRIVATE wg21_linear_algebra::wg21_linear_algebra)
endif() endif()