Skip to content

Commit

Permalink
[infra] Bump symengine and gmp versions (#1176)
Browse files Browse the repository at this point in the history
  • Loading branch information
cqc-alec authored Dec 14, 2023
1 parent c14aabe commit 248c1ec
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-without-conan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ jobs:
- name: Install symengine
run: |
cd ${TMP_DIR}
wget https://github.com/symengine/symengine/releases/download/v0.11.1/symengine-0.11.1.tar.gz
tar xzvf symengine-0.11.1.tar.gz
cd symengine-0.11.1/
wget https://github.com/symengine/symengine/releases/download/v0.11.2/symengine-0.11.2.tar.gz
tar xzvf symengine-0.11.2.tar.gz
cd symengine-0.11.2/
mkdir build
cd build
cmake -GNinja -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} -DBUILD_TESTS=OFF -DBUILD_BENCHMARKS=OFF ..
Expand Down
14 changes: 7 additions & 7 deletions build-without-conan.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ cd boost_1_83_0/

```
cd ${TMP_DIR}
wget https://gmplib.org/download/gmp/gmp-6.2.1.tar.bz2
bzip2 -dk gmp-6.2.1.tar.bz2
tar xvf gmp-6.2.1.tar
cd gmp-6.2.1/
wget https://gmplib.org/download/gmp/gmp-6.3.0.tar.bz2
bzip2 -dk gmp-6.3.0.tar.bz2
tar xvf gmp-6.3.0.tar
cd gmp-6.3.0/
./configure --prefix=${INSTALL_DIR} --enable-cxx=yes
make
make check
Expand All @@ -48,9 +48,9 @@ make install

```
cd ${TMP_DIR}
wget https://github.com/symengine/symengine/releases/download/v0.11.1/symengine-0.11.1.tar.gz
tar xzvf symengine-0.11.1.tar.gz
cd symengine-0.11.1/
wget https://github.com/symengine/symengine/releases/download/v0.11.2/symengine-0.11.2.tar.gz
tar xzvf symengine-0.11.2.tar.gz
cd symengine-0.11.2/
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} -DBUILD_TESTS=OFF -DBUILD_BENCHMARKS=OFF ..
Expand Down
6 changes: 3 additions & 3 deletions pytket/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ def package(self):
cmake.install()

def requirements(self):
self.requires("tket/1.2.73@tket/stable")
self.requires("tket/1.2.74@tket/stable")
self.requires("tklog/0.3.3@tket/stable")
self.requires("tkrng/0.3.3@tket/stable")
self.requires("tkassert/0.3.4@tket/stable")
self.requires("tkwsm/0.3.6@tket/stable")
self.requires("tktokenswap/0.3.6@tket/stable")
self.requires("symengine/0.11.1")
self.requires("gmp/6.2.1")
self.requires("symengine/0.11.2")
self.requires("gmp/6.3.0")
self.requires("pybind11/2.11.1")
self.requires("nlohmann_json/3.11.3")
self.requires("pybind11_json/0.2.13")
4 changes: 2 additions & 2 deletions tket/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

class TketConan(ConanFile):
name = "tket"
version = "1.2.73"
version = "1.2.74"
package_type = "library"
license = "Apache 2"
homepage = "https://github.com/CQCL/tket"
Expand Down Expand Up @@ -112,7 +112,7 @@ def requirements(self):
# libraries installed from remote:
# https://quantinuumsw.jfrog.io/artifactory/api/conan/tket1-libs
self.requires("boost/1.83.0", transitive_headers=True)
self.requires("symengine/0.11.1", transitive_headers=True)
self.requires("symengine/0.11.2", transitive_headers=True)
self.requires("eigen/3.4.0", transitive_headers=True)
self.requires("nlohmann_json/3.11.3", transitive_headers=True)
self.requires("tklog/0.3.3@tket/stable")
Expand Down

0 comments on commit 248c1ec

Please sign in to comment.