Skip to content

Commit

Permalink
add -fPIC in readme + change python version recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreMarion23 committed Nov 23, 2019
1 parent 83e2fb2 commit 5719e74
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,8 @@ To compile a portable executable, you first need to compile a portable static li
The following commands **should** do the job.
- If you compile on Linux:
- replace `<OS>` by `linux`
- add `-fPIC` to the list of CXXFLAGS and CFLAGS for FFTW, GMP, NTL
- add `cxxflags=-fPIC cflags=-fPIC` to the ./b2 command for Boost
- If you compile on Mac OS X:
- replace `<OS>` by `darwin`
- add `--enable-assembly=no` to the configuration of GMP
Expand All @@ -485,6 +487,8 @@ The following commands **should** do the job.
export CXXFLAGS='-m64 -march=k8'
export CFLAGS='-m64 -march=k8'
./configure --prefix=$HOME/fftw --enable-static --enable-threads --with-combined-threads --enable-sse2
make
make install
```

**GMP**
Expand Down
4 changes: 2 additions & 2 deletions python-wrapper/conda_recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ build:

requirements:
build:
- python>=3.8.0
- python==3.7.0
- setuptools
run:
- python>=3.8.0
- python==3.7.0
- ipywidgets>=7.1.0
- widgetsnbextension>=3.1.0
- notebook>=5.3.0
Expand Down

0 comments on commit 5719e74

Please sign in to comment.