Skip to content

Commit

Permalink
Merge pull request #10 from adc-connect/activate-libxm
Browse files Browse the repository at this point in the history
Activate libxm in CI and Releases
  • Loading branch information
mfherbst authored Dec 20, 2020
2 parents 97b5e9a + f66f9bf commit 1f5135f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
shell: bash
run: |
ccache --max-size 2G
./build_libtensor.py -v -d ${{runner.workspace}}/build --install ${{runner.workspace}}/install --type Release
./build_libtensor.py -v -d ${{runner.workspace}}/build --install ${{runner.workspace}}/install --type Release --features libxm
- name: Test
working-directory: ${{runner.workspace}}/build
Expand Down
2 changes: 1 addition & 1 deletion conda/build.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
./build_libtensor.py -v -d build --install ${PREFIX} --type Release --features mkl
./build_libtensor.py -v -d build --install ${PREFIX} --type Release --features mkl libxm
5 changes: 5 additions & 0 deletions libtensor/core/allocator.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ class allocator {
**/
static void init() { init("standard", NULL); }

/** Old init function for compatibility. Deprecated */
static void init(const std::string &implementation, size_t, size_t, size_t,
size_t, const char *pfprefix = 0) {
init(implementation, pfprefix);
}

/** \brief Shuts down the allocator
Expand Down

0 comments on commit 1f5135f

Please sign in to comment.