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

Merge updates from develop for last time #59

Merged
merged 112 commits into from
Jan 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
478c913
Merge branch 'develop' of github.com:datasig-ac-uk/RoughPy into develop
philipparubin Sep 19, 2023
1721dba
Optional disable linking to blas
inakleinbottle Sep 27, 2023
7c039e7
Set INSTALL_RPATH always, update on Apple. This is broken by vcpkg bug
inakleinbottle Sep 27, 2023
2348051
Merge branch 'develop' of github.com:datasig-ac-uk/RoughPy into develop
philipparubin Oct 3, 2023
1dbd256
to_letter implementation
inakleinbottle Oct 4, 2023
03d29bb
Fix bad construction of PyLieKey
inakleinbottle Oct 4, 2023
9411eef
bump lal.
inakleinbottle Oct 4, 2023
27a57cb
Merge pull request #41 from datasig-ac-uk/fix-lie-key-iterator
inakleinbottle Oct 4, 2023
91f727f
Merge pull request #39 from datasig-ac-uk/disable-blas
inakleinbottle Oct 6, 2023
5a0b215
Serialization (#42)
inakleinbottle Oct 6, 2023
0a709ab
added all the includes of the concrete types header
inakleinbottle Oct 8, 2023
aa4c32c
fixed some more serialization includes
inakleinbottle Oct 8, 2023
65d27ce
massive restructuring of algebra
inakleinbottle Oct 9, 2023
b8d08b4
Implement __setstate__ for monomial.
inakleinbottle Oct 9, 2023
2cd6d97
Many steps of debugging.
inakleinbottle Oct 9, 2023
7dea58f
Back to release mode
inakleinbottle Oct 9, 2023
a612bca
Fixed missing include of types header
inakleinbottle Oct 10, 2023
0b1fd0b
Update the actions, hopefuly should stop the automatic publish.
inakleinbottle Oct 10, 2023
36ef704
Update changelog
inakleinbottle Oct 10, 2023
096beaa
Setup binary caching in action
inakleinbottle Oct 10, 2023
9014e57
Bump version
inakleinbottle Oct 10, 2023
c51593f
delete old action, fix condition
inakleinbottle Oct 10, 2023
3e8938b
Fix quotes?
inakleinbottle Oct 10, 2023
0425c2f
Fixed size type in scalar serialization.h
inakleinbottle Oct 10, 2023
8a9b657
remove boost::filesystem as a requirement
inakleinbottle Oct 10, 2023
a90be21
cast to size_t
inakleinbottle Oct 10, 2023
fa3db7b
Updat cibuildwheel version
inakleinbottle Oct 10, 2023
01d458b
Use cereal::size_type????
inakleinbottle Oct 10, 2023
4da2d8b
allow dynamic linkage on windows. Because, Windows -.-
inakleinbottle Oct 10, 2023
a0e198c
force lvalue size_type
inakleinbottle Oct 10, 2023
f32ec76
fix boost versions in manifest.
inakleinbottle Oct 10, 2023
d90174f
fixed another bad size_type
inakleinbottle Oct 10, 2023
fae3e10
remove boost log dependency
inakleinbottle Oct 10, 2023
f79aa74
Fix another size_type
inakleinbottle Oct 10, 2023
3778de3
more size_types.
inakleinbottle Oct 10, 2023
cf87600
missing headers in lie_interface.cpp
inakleinbottle Oct 10, 2023
54279a6
makes sure all necessary headers are included
inakleinbottle Oct 10, 2023
2640e9d
Disable C4661 in headers
inakleinbottle Oct 10, 2023
7131a7a
Fix number
inakleinbottle Oct 10, 2023
c5775ea
Always include "types.h" along with "scalar_type.h"
inakleinbottle Oct 10, 2023
2e6f71e
Implement the common types in main header.
inakleinbottle Oct 10, 2023
e4c2cee
Define all the integer type specializations
inakleinbottle Oct 10, 2023
28f5804
autolinking and boost
inakleinbottle Oct 10, 2023
cb113ad
Link boost in rpy module
inakleinbottle Oct 10, 2023
c5c8270
revert to static libs.
inakleinbottle Oct 10, 2023
574f9ac
Force auto link
inakleinbottle Oct 10, 2023
634b7a8
force link with comment
inakleinbottle Oct 10, 2023
b771022
For god's sake stop trying to instantiate templates
inakleinbottle Oct 10, 2023
0117983
Merge remote-tracking branch 'origin/develop' into develop
inakleinbottle Oct 10, 2023
902b2ed
Merge branch 'develop' of github.com:datasig-ac-uk/RoughPy into develop
philipparubin Oct 20, 2023
8b87155
Adding sig log sig example
philipparubin Oct 20, 2023
d6a27f9
Update git ignore
philipparubin Oct 20, 2023
16a2cba
Open cl core (#49)
inakleinbottle Nov 21, 2023
0960fcd
Type deduction fix (#51)
inakleinbottle Nov 23, 2023
3cdd034
Fix conversion to numpy (#52)
inakleinbottle Nov 24, 2023
76763b1
Precompiled headers, shuffled instantiations, etc. to make build time…
inakleinbottle Nov 25, 2023
9892cbc
Merge remote-tracking branch 'origin/develop' into develop
inakleinbottle Nov 27, 2023
ed73a3c
Fix containinterval issues (#54)
inakleinbottle Dec 1, 2023
7785120
Merge remote-tracking branch 'origin/main' into develop
inakleinbottle Dec 1, 2023
d88534a
Fixed bug in clone method
inakleinbottle Dec 1, 2023
1c1177a
MSVC template instantiation again -.-
inakleinbottle Dec 1, 2023
2f08d75
do not reference subordinates in device_handle, leave open option of …
inakleinbottle Dec 1, 2023
d0e470f
thankyou msvc for providing no information
inakleinbottle Dec 1, 2023
788102f
MSVC just cannot help itself.
inakleinbottle Dec 1, 2023
94170b1
Ok device_handle.h needs the subordinates
inakleinbottle Dec 1, 2023
aa0d708
put definition in namespace?
inakleinbottle Dec 1, 2023
628b284
no inline definition
inakleinbottle Dec 1, 2023
9d3df7b
use alternative copy-convert
inakleinbottle Dec 1, 2023
b17eeaf
borrow the update value for call to interface.
inakleinbottle Dec 1, 2023
4761ae1
change up the constructors slightly.
inakleinbottle Dec 1, 2023
95f33a1
use the gmp package instead of mpir since it is supported on all plat…
inakleinbottle Dec 4, 2023
0a6128b
force set the variables fphse
inakleinbottle Dec 4, 2023
ec155ee
Fixed link option over compile option
inakleinbottle Dec 4, 2023
0390aa2
use shared libs for gmp
inakleinbottle Dec 4, 2023
4d27de7
OOps unset gmp setting
inakleinbottle Dec 4, 2023
e474dbb
Fix adding bignum as runtime dependency
inakleinbottle Dec 4, 2023
2e36a80
set rpath on macos
inakleinbottle Dec 4, 2023
57629e6
bump lal
inakleinbottle Dec 4, 2023
a6132f5
do not set rpath on apple and make cache var
inakleinbottle Dec 4, 2023
a19146b
disable coeff test until bugs can be found
inakleinbottle Dec 4, 2023
154e006
let delocate find the libraries?
inakleinbottle Dec 4, 2023
f924f8f
use @loader_path?
inakleinbottle Dec 4, 2023
b6f11af
Really please don't use the SONAME
inakleinbottle Dec 4, 2023
038bbbb
after bignum loaded
inakleinbottle Dec 4, 2023
253aab0
disable apple rpath everywhere
inakleinbottle Dec 5, 2023
a1e2bcd
bump libalgebra_lite
inakleinbottle Dec 5, 2023
d06cd33
debug info in vcpkg
inakleinbottle Dec 5, 2023
4369bf3
try installing runtime dependencies via cmake
inakleinbottle Dec 5, 2023
aad403a
Ooops got it in the wrong place
inakleinbottle Dec 5, 2023
995d581
framework destination
inakleinbottle Dec 5, 2023
5747ee8
no need to install mkl at the moment
inakleinbottle Dec 5, 2023
8b574c1
excludes
inakleinbottle Dec 5, 2023
9ee8668
remove dependence on bignum from device component
inakleinbottle Dec 5, 2023
fc5fd82
Allow static gmp
inakleinbottle Dec 5, 2023
95c2ab7
no runtime deps
inakleinbottle Dec 5, 2023
d3f5f9a
no vcpkg gmp on apple
inakleinbottle Dec 5, 2023
416584f
moved triplets to tools dir
inakleinbottle Dec 5, 2023
a42e9f5
remove unused port files
inakleinbottle Dec 5, 2023
593facb
added empty overlay for gmp
inakleinbottle Dec 5, 2023
38127d4
install gtest only when building
inakleinbottle Dec 5, 2023
9013759
bump VERSION.txt
inakleinbottle Dec 5, 2023
7b76b8e
Merge branch 'main' into develop
inakleinbottle Dec 7, 2023
f734703
Revert to shared components (#56)
inakleinbottle Dec 12, 2023
7ffb57a
Release the gil when computing signatures or log-signatures. (#58)
inakleinbottle Dec 13, 2023
53d28a5
do not transpose arrays that are wide but short for streams (#57)
inakleinbottle Dec 13, 2023
78e4a90
modified the github actions in prep for new release setup.
inakleinbottle Dec 13, 2023
c9a63e9
Added words example
inakleinbottle Dec 18, 2023
b5509a4
set cache variable for tests features
inakleinbottle Jan 8, 2024
3b1224b
Probably redundant test, but check anyway
inakleinbottle Jan 8, 2024
5191ba7
remove git modules.
inakleinbottle Jan 8, 2024
c19c992
upload files to release rather than create release
inakleinbottle Jan 8, 2024
43064a0
filled out some functions in the manager script.
inakleinbottle Jan 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 25 additions & 24 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,28 @@ name: Build Wheels

on:
push:
branches: [ "main" ]
paths-ignore:
- "examples/**"
- "doc/**"
- "README.md"
- "*.txt"
- "CHANGELOG"
pull_request:
branches: [ "main" ]
types:
- opened
- reopened
- synchronize
paths-ignore:
- "examples/**"
- "doc/**"
- "README.md"
- "*.txt"
- "CHANGELOG"

tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
# branches: [ "main" ]
# paths-ignore:
# - "examples/**"
# - "doc/**"
# - "README.md"
# - "*.txt"
# - "CHANGELOG"
# pull_request:
# branches: [ "main" ]
# types:
# - opened
# - reopened
# - synchronize
# paths-ignore:
# - "examples/**"
# - "doc/**"
# - "README.md"
# - "*.txt"
# - "CHANGELOG"
#
env:
BUILD_TYPE: Release
VERBOSE: 1
Expand Down Expand Up @@ -120,7 +122,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: "3.11"
python-version: "3.12"

- name: Install release deps
run: python -m pip install twine
Expand All @@ -137,13 +139,12 @@ jobs:
name: wheels
path: dist

- name: Create release
- name: Update release
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
version="$(ls dist | grep -Po '(?<=roughpy-).+(?=\.tar\.gz)')"
gh release -R ${{ github.repository }} create -t $version --generate-notes $version dist/*
gh release upload -r ${{ github.repository }} upload ${{ github.ref_name }} dist/*

- name: Publish
run: |
Expand Down
19 changes: 16 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,23 @@ name: tests

on:
push:
branches: [ "develop" ]
branches: [ "main" ]
paths-ignore:
- "examples/**"
- "doc/**"
- "README.md"
- "*.txt"
- "CHANGELOG"
- "tools/*.py"
pull_request:
branches: [ "develop" ]

branches: [ "main" ]
paths-ignore:
- "examples/**"
- "doc/**"
- "README.md"
- "*.txt"
- "CHANGELOG"
- "tools/*.py"
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -338,5 +338,5 @@ cython_debug/

roughpy/version.py
/my_todo.txt
tools/

.venv*/
14 changes: 0 additions & 14 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,14 +0,0 @@
[submodule "external/libalgebra_lite"]
path = external/libalgebra_lite
url = https://github.com/datasig-ac-uk/libalgebra-lite
branch = main
update = merge
[submodule "external/recombine"]
path = external/recombine
url = https://github.com/datasig-ac-uk/Recombine.git
update = merge
[submodule "external/libalgebra"]
path = external/libalgebra
url = https://github.com/terrylyons/libalgebra
branch = develop
update = merge
20 changes: 14 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ option(ROUGHPY_GENERATE_DEVICE_CODE "Generate code for objects on devices" OFF)
option(ROUGHPY_DISABLE_BLAS "Disable linking to blas/lapack" ON)
cmake_dependent_option(ROUGHPY_PREFER_ACCELERATE
"Prefer Accelerate framework on MacOS always" OFF APPLE OFF)

option(ROUGHPY_BUILD_PYLIB "Build the Python library for RoughPy" ON)

if (ROUGHPY_BUILD_TESTS)
set(VCPKG_MANIFEST_FEATURES "tests")
set(VCPKG_MANIFEST_FEATURES "tests" CACHE INTERNAL "")
endif ()

project(RoughPy VERSION ${_rpy_version})
Expand Down Expand Up @@ -252,7 +252,9 @@ if (NOT ROUGHPY_DISABLE_BLAS)
find_package(MKL CONFIG)
if (TARGET MKL::MKL)
set(RPY_USE_MKL ON CACHE INTERNAL "BLAS/LAPACK provided by mkl")
add_library(BLAS::BLAS ALIAS MKL::MKL)
add_library(BLAS::BLAS ALIAS MKL::MKL
algebra/src/libalgebra_lite_internal/rational_coefficients.cpp
algebra/src/libalgebra_lite_internal/rational_coefficients.h)
add_library(LAPACK::LAPACK ALIAS MKL::MKL)

if (DEFINED MKL_OMP_LIB AND MKL_OMP_LIB)
Expand Down Expand Up @@ -311,6 +313,11 @@ endif ()
find_package(pybind11 REQUIRED)
find_package(cereal REQUIRED)
find_package(PCGRandom REQUIRED)
find_package(Libalgebra_lite REQUIRED)

find_package(PkgConfig REQUIRED)
pkg_check_modules(GMP REQUIRED IMPORTED_TARGET gmp)
add_library(GMP::GMP ALIAS PkgConfig::GMP)

# Now we get to adding our components. Let's do some global setup such as
# setting the CXX standard and the shared library details.
Expand All @@ -324,17 +331,18 @@ elseif (NOT WIN32)
set(CMAKE_INSTALL_RPATH "$ORIGIN" CACHE INTERNAL "")
endif ()

add_subdirectory(external/libalgebra_lite)
#add_subdirectory(external/libalgebra_lite)


add_subdirectory(core)
add_subdirectory(platform)
add_subdirectory(device)
add_subdirectory(scalars)
add_subdirectory(intervals)
add_subdirectory(algebra)
add_subdirectory(streams)
add_subdirectory(roughpy)
if (ROUGHPY_BUILD_PYLIB)
add_subdirectory(roughpy)
endif ()


if (ROUGHPY_BUILD_LA_CONTEXTS)
Expand Down
2 changes: 2 additions & 0 deletions algebra/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ add_roughpy_component(Algebra
src/libalgebra_lite_internal/lie_basis_info.h
src/libalgebra_lite_internal/lie_info.h
src/libalgebra_lite_internal/lite_vector_selector.h
src/libalgebra_lite_internal/rational_coefficients.cpp
src/libalgebra_lite_internal/rational_coefficients.h
src/libalgebra_lite_internal/shuffle_tensor_info.h
src/libalgebra_lite_internal/sparse_mutable_ref_scalar_trait.h
src/libalgebra_lite_internal/sparse_vector_iterator.h
Expand Down
6 changes: 3 additions & 3 deletions algebra/include/roughpy/algebra/algebra_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ struct with_interface {
using type = AlgebraImplementation<IFace, Impl, StorageModel>;
};

RPY_EXPORT void print_empty_algebra(std::ostream& os);
RPY_EXPORT const scalars::ScalarType*
ROUGHPY_ALGEBRA_EXPORT void print_empty_algebra(std::ostream& os);
ROUGHPY_ALGEBRA_EXPORT const scalars::ScalarType*
context_to_scalars(const context_pointer& ptr);

}// namespace dtl
Expand Down Expand Up @@ -331,7 +331,7 @@ UnspecifiedAlgebraType construct_dense_algebra(
AlgebraType atype
);

RPY_EXPORT void check_contexts_compatible(
ROUGHPY_ALGEBRA_EXPORT void check_contexts_compatible(
const context_pointer& ref, const context_pointer& other
);
}// namespace dtl
Expand Down
1 change: 1 addition & 0 deletions algebra/include/roughpy/algebra/algebra_fwd.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include <roughpy/core/types.h>

#include <memory>
#include "roughpy_algebra_export.h"

namespace rpy {
namespace algebra {
Expand Down
12 changes: 6 additions & 6 deletions algebra/include/roughpy/algebra/context.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ struct VectorConstructionData {
VectorType vector_type = VectorType::Sparse;
};

class RPY_EXPORT ContextBase : public boost::intrusive_ref_counter<ContextBase>
class ROUGHPY_ALGEBRA_EXPORT ContextBase : public boost::intrusive_ref_counter<ContextBase>
{
deg_t m_width;
deg_t m_depth;
Expand All @@ -93,7 +93,7 @@ class RPY_EXPORT ContextBase : public boost::intrusive_ref_counter<ContextBase>
RPY_NO_DISCARD dimn_t tensor_size(deg_t deg) const noexcept;
};

class RPY_EXPORT Context : public ContextBase
class ROUGHPY_ALGEBRA_EXPORT Context : public ContextBase
{
const scalars::ScalarType* p_ctype;
string m_ctx_backend;
Expand Down Expand Up @@ -229,9 +229,9 @@ class RPY_EXPORT Context : public ContextBase

};

RPY_EXPORT base_context_pointer get_base_context(deg_t width, deg_t depth);
ROUGHPY_ALGEBRA_EXPORT base_context_pointer get_base_context(deg_t width, deg_t depth);

RPY_EXPORT context_pointer get_context(
ROUGHPY_ALGEBRA_EXPORT context_pointer get_context(
deg_t width, deg_t depth, const scalars::ScalarType* ctype,
const std::vector<std::pair<string, string>>& preferences = {}
);
Expand Down Expand Up @@ -259,7 +259,7 @@ inline void check_contexts_compatible(const Context& ctx1, const Context& ctx2)
// TODO: Alternatively, check that ctype1 is convertible to ctype2
}

class RPY_EXPORT ContextMaker
class ROUGHPY_ALGEBRA_EXPORT ContextMaker
{
public:
using preference_list = std::vector<std::pair<string, string>>;
Expand All @@ -276,7 +276,7 @@ class RPY_EXPORT ContextMaker
get_base_context(deg_t width, deg_t depth) const = 0;
};

RPY_EXPORT const ContextMaker*
ROUGHPY_ALGEBRA_EXPORT const ContextMaker*
register_context_maker(std::unique_ptr<ContextMaker> maker);

template <typename Maker>
Expand Down
8 changes: 4 additions & 4 deletions algebra/include/roughpy/algebra/context_fwd.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,17 +86,17 @@ struct BasicContextSpec {
deg_t depth;
};

RPY_NO_DISCARD RPY_EXPORT BasicContextSpec
RPY_NO_DISCARD ROUGHPY_ALGEBRA_EXPORT BasicContextSpec
get_context_spec(const context_pointer& ctx);

RPY_NO_DISCARD RPY_EXPORT context_pointer
RPY_NO_DISCARD ROUGHPY_ALGEBRA_EXPORT context_pointer
from_context_spec(const BasicContextSpec& spec);

RPY_NO_DISCARD RPY_EXPORT std::vector<byte> alg_to_raw_bytes(
RPY_NO_DISCARD ROUGHPY_ALGEBRA_EXPORT std::vector<byte> alg_to_raw_bytes(
context_pointer ctx, AlgebraType atype, RawUnspecifiedAlgebraType alg
);

RPY_NO_DISCARD RPY_EXPORT UnspecifiedAlgebraType alg_from_raw_bytes(
RPY_NO_DISCARD ROUGHPY_ALGEBRA_EXPORT UnspecifiedAlgebraType alg_from_raw_bytes(
context_pointer ctx, AlgebraType atype, Slice<byte> raw_data
);

Expand Down
4 changes: 2 additions & 2 deletions algebra/include/roughpy/algebra/free_tensor.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ RPY_TEMPLATE_EXTERN template class RPY_EXPORT_TEMPLATE



class RPY_EXPORT FreeTensor
class ROUGHPY_ALGEBRA_EXPORT FreeTensor
: public AlgebraBase<FreeTensorInterface, FreeTensorImplementation>
{
using base_t = AlgebraBase<FreeTensorInterface, FreeTensorImplementation>;
Expand All @@ -77,7 +77,7 @@ RPY_SERIAL_EXTERN_SERIALIZE_CLS(FreeTensor)
RPY_SERIAL_SERIALIZE_FN_IMPL(FreeTensor) { RPY_SERIAL_SERIALIZE_BASE(base_t); }

template <>
RPY_EXPORT typename FreeTensor::basis_type
ROUGHPY_ALGEBRA_EXPORT typename FreeTensor::basis_type
basis_setup_helper<FreeTensor>::get(const context_pointer& ctx);


Expand Down
4 changes: 2 additions & 2 deletions algebra/include/roughpy/algebra/free_tensor_bundle.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RPY_TEMPLATE_EXTERN template class RPY_EXPORT_TEMPLATE AlgebraBundleBase<
FreeTensorBundleInterface,
FreeTensorBundleImplementation>;

class RPY_EXPORT FreeTensorBundle : public AlgebraBundleBase<
class ROUGHPY_ALGEBRA_EXPORT FreeTensorBundle : public AlgebraBundleBase<
FreeTensorBundleInterface,
FreeTensorBundleImplementation>
{
Expand Down Expand Up @@ -46,7 +46,7 @@ RPY_SERIAL_SERIALIZE_FN_IMPL(FreeTensorBundle)
}

template <>
RPY_EXPORT typename FreeTensorBundle::basis_type
ROUGHPY_ALGEBRA_EXPORT typename FreeTensorBundle::basis_type
basis_setup_helper<FreeTensorBundle>::get(const context_pointer& ctx);


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ RPY_TEMPLATE_EXTERN template class RPY_EXPORT_TEMPLATE



class RPY_EXPORT FreeTensorBundleInterface
class ROUGHPY_ALGEBRA_EXPORT FreeTensorBundleInterface
: public BundleInterface<FreeTensorBundle, FreeTensor, FreeTensor>
{
public:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ namespace algebra {
RPY_TEMPLATE_EXTERN template class RPY_EXPORT_TEMPLATE
AlgebraInterface<FreeTensor, TensorBasis>;

class RPY_EXPORT FreeTensorInterface
class ROUGHPY_ALGEBRA_EXPORT FreeTensorInterface
: public AlgebraInterface<FreeTensor, TensorBasis>
{
public:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ namespace algebra {
RPY_TEMPLATE_EXTERN template class RPY_EXPORT_TEMPLATE
BundleInterface<LieBundle, Lie, Lie>;

class RPY_EXPORT LieBundleInterface
class ROUGHPY_ALGEBRA_EXPORT LieBundleInterface
: public BundleInterface<LieBundle, Lie, Lie>
{
using base_t = BundleInterface<LieBundle, Lie, Lie>;
Expand Down
2 changes: 1 addition & 1 deletion algebra/include/roughpy/algebra/interfaces/lie_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ namespace algebra {
RPY_TEMPLATE_EXTERN template class RPY_EXPORT_TEMPLATE
AlgebraInterface<Lie, LieBasis>;

class RPY_EXPORT LieInterface : public AlgebraInterface<Lie, LieBasis>
class ROUGHPY_ALGEBRA_EXPORT LieInterface : public AlgebraInterface<Lie, LieBasis>
{
using base_t = AlgebraInterface<Lie, LieBasis>;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace rpy { namespace algebra {
RPY_TEMPLATE_EXTERN template class RPY_EXPORT_TEMPLATE
BundleInterface<ShuffleTensorBundle, ShuffleTensor, ShuffleTensor>;

class RPY_EXPORT ShuffleTensorBundleInterface
class ROUGHPY_ALGEBRA_EXPORT ShuffleTensorBundleInterface
: public BundleInterface<ShuffleTensorBundle, ShuffleTensor, ShuffleTensor>
{
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ namespace algebra {
RPY_TEMPLATE_EXTERN template class RPY_EXPORT_TEMPLATE
AlgebraInterface<ShuffleTensor, TensorBasis>;

class RPY_EXPORT ShuffleTensorInterface
class ROUGHPY_ALGEBRA_EXPORT ShuffleTensorInterface
: public AlgebraInterface<ShuffleTensor, TensorBasis>
{
using base_t = AlgebraInterface<ShuffleTensor, TensorBasis>;
Expand Down
4 changes: 2 additions & 2 deletions algebra/include/roughpy/algebra/lie.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ namespace algebra {
RPY_TEMPLATE_EXTERN template class RPY_EXPORT_TEMPLATE
AlgebraBase<LieInterface>;

class RPY_EXPORT Lie : public AlgebraBase<LieInterface>
class ROUGHPY_ALGEBRA_EXPORT Lie : public AlgebraBase<LieInterface>
{
using base_t = AlgebraBase<LieInterface>;

Expand All @@ -66,7 +66,7 @@ RPY_SERIAL_SERIALIZE_FN_IMPL(Lie) { RPY_SERIAL_SERIALIZE_BASE(base_t); }


template <>
RPY_EXPORT typename Lie::basis_type
ROUGHPY_ALGEBRA_EXPORT typename Lie::basis_type
basis_setup_helper<Lie>::get(const context_pointer& ctx);


Expand Down
Loading