Skip to content

Commit

Permalink
Merge pull request #16 from codecryptanalysis/cr-marcstevens-patch-1
Browse files Browse the repository at this point in the history
- Update github url.
- Fix Github Actions CI: macos: cannot find gmp.
- Fix non-x86 compilation.
  • Loading branch information
cr-marcstevens authored Jul 6, 2024
2 parents 178586c + 1cf5c86 commit efc133e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/cpp-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install dependencies (macos)
run: brew install automake gmp
run: |
brew install automake libtool gmp
echo "CPATH=$CPATH:$(brew --prefix)/include" >> "$GITHUB_ENV" &&
echo "LIBRARY_PATH=$LIBRARY_PATH:$(brew --prefix)/lib" >> "$GITHUB_ENV"
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(brew --prefix)/lib" >> "$GITHUB_ENV"
if: matrix.os == 'macos-latest'
- name: Prepare
run: autoreconf --install
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ sudo apt-get install libgmp3-dev
# Getting started

```
git clone [email protected]:cr-marcstevens/mccl.git mccl
git clone [email protected]:codecryptanalysis/mccl.git mccl
cd mccl
autoreconf --install
./configure
./configure --without-cuda
make
make check
```
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AC_PREREQ([2.68])
AC_INIT([mccl], [0.1], [[email protected]],[mccl],[https://github.com/cr-marcstevens/mccl])
AC_INIT([mccl], [0.1], [[email protected]],[mccl],[https://github.com/codecryptanalysis/mccl])
AC_CONFIG_SRCDIR([README.md])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([m4])
Expand Down
1 change: 0 additions & 1 deletion mccl/core/matrix_base.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

#include <mccl/config/config.hpp>

#include <nmmintrin.h>
#include <stdexcept>
#include <cstdint>
#include <array>
Expand Down
1 change: 0 additions & 1 deletion mccl/core/matrix_ops.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#include <mccl/config/config.hpp>
#include <mccl/core/matrix_ops.hpp>

#include <nmmintrin.h>
#include <cassert>

MCCL_BEGIN_NAMESPACE
Expand Down

0 comments on commit efc133e

Please sign in to comment.