Skip to content

Commit 4af3739

Browse files
authored
Merge pull request cavalab#167 from folivetti/master
Fix ITEA and TIR and a little bit of GOMEA
2 parents 01bbdf0 + 3f3ffb9 commit 4af3739

File tree

5 files changed

+27
-6
lines changed

5 files changed

+27
-6
lines changed

algorithms/gpgomea/environment.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@ name: gpg
22
channels:
33
- conda-forge
44
dependencies:
5+
- pkgconfig
6+
- boost=1.74.0
7+
- armadillo=9.900.4
58
- make
6-
- cmake
7-
- python=3.9
9+
- cmake=3.28.1
10+
- python=3.10
811
- eigen=3.4.0
912
- python-devtools=0.9.0
1013
- pybind11

algorithms/itea/environment.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
channels:
2+
- conda-forge
3+
dependencies:
4+
- gmp
5+
- gsl
6+
- libffi
7+
- libgfortran-ng
8+
- blas * openblas
9+
- liblapack

algorithms/itea/regressor.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
import sys
2+
import os
3+
os.environ["LD_LIBRARY_PATH"] = os.environ["CONDA_PREFIX"] + "/lib"
14
import pyITEA as itea
25
from itertools import product
36

algorithms/tir/environment.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
channels:
2+
- conda-forge
3+
dependencies:
4+
- gmp
5+
- gsl
6+
- libffi
7+
- libgfortran-ng
8+
- blas * openblas
9+
- liblapack

algorithms/tir/install.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,4 @@ curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | bash
1717
export PATH=$PATH:~/.ghcup/bin:~/.cabal/bin
1818

1919
#conda activate srbench
20-
cabal install --overwrite-policy=always
21-
cp ~/.cabal/bin/tir ./python/
22-
cd python
23-
pip install .
20+
cabal install --overwrite-policy=always --installdir=./python && cd python && pip install .

0 commit comments

Comments
 (0)