Skip to content

Commit

Permalink
Support gcc-11 (#348)
Browse files Browse the repository at this point in the history
* Update README.md

* Update main.yml

* Update Readme.rst

* Update setup.py
  • Loading branch information
StrikerRUS authored Aug 22, 2021
1 parent b344a64 commit 4cec97f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- master

env:
GCC_VER_MACOS: '10'
GCC_VER_MACOS: '11'
GCC_VER_LINUX: '5'
jobs:
test:
Expand Down
4 changes: 1 addition & 3 deletions RGF/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Please see the file [`CHANGES.md`](./CHANGES.md) for the changelog of RGF.
# 0.1 Acknowledgements

We thank **Dave Slate** for suggesting a solution to the issue of file size
restriction above.
restriction.

************************************************************************

Expand Down Expand Up @@ -80,8 +80,6 @@ Otherwise, your executable can be anywhere you like.
The easiest way. Just download the precompiled file `rgf.exe`
from the latest [GitHub release](https://github.com/RGF-team/rgf/releases).

For 32-bit Windows download `rgf32.exe` file and rename it to `rgf.exe`.

### 3.1.2. Visual Studio (Using the Provided Solution File)

1. Open directory `Windows/rgf`.
Expand Down
2 changes: 2 additions & 0 deletions python-package/Readme.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ or from `GitHub <https://github.com/RGF-team/rgf/python-package>`__:
cd rgf/python-package
python setup.py install

MacOS users, **rgf\_python** after the ``3.10.0`` version is built with **g++-11** and cannot be launched on systems with **g++-10** and earlier. You should update your **g++** compiler if you don't want to build from sources or install **rgf\_python** ``3.10.0`` from PyPI which is the last version built with **g++-10**.

MacOS users, **rgf\_python** after the ``3.8.0`` version is built with **g++-10** and cannot be launched on systems with **g++-9** and earlier. You should update your **g++** compiler if you don't want to build from sources or install **rgf\_python** ``3.8.0`` from PyPI which is the last version built with **g++-9**.

MacOS users, **rgf\_python** after the ``3.5.0`` version is built with **g++-9** and cannot be launched on systems with **g++-8** and earlier. You should update your **g++** compiler if you don't want to build from sources or install **rgf\_python** ``3.5.0`` from PyPI which is the last version built with **g++-8**.
Expand Down
2 changes: 1 addition & 1 deletion python-package/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def is_valid_gpp():
if tmp_result or system() in ('Windows', 'Microsoft'):
return tmp_result

for version in range(5, 11):
for version in range(5, 12):
try:
subprocess.check_output(('g++-' + str(version), '--version'))
return True
Expand Down

0 comments on commit 4cec97f

Please sign in to comment.