Skip to content

Made installation work with gpp10+ (version > 10)#633

Closed
KirtashW17 wants to merge 2 commits into
SciRuby:masterfrom
KirtashW17:master
Closed

Made installation work with gpp10+ (version > 10)#633
KirtashW17 wants to merge 2 commits into
SciRuby:masterfrom
KirtashW17:master

Conversation

@KirtashW17

@KirtashW17 KirtashW17 commented Oct 16, 2021

Copy link
Copy Markdown

I recently had to install nmatrix gem in a machine with gpp14 running and I noticed that the installation failed because was comparing the version as a string.
I fixed it making the function gplusplus version to return an array of numbers instead of a string, and changing the if conditions.

EDIT: I just noticed that there is already a Pull Requests solving this issue, but i think both PR can be merged since one fixes the find_newer_gplusplus method and another the conditionals checking the version.

fixes #630

@KirtashW17

Copy link
Copy Markdown
Author

Duplicated of #632

@KirtashW17 KirtashW17 closed this May 21, 2022
@mishelhiti

Copy link
Copy Markdown

hey,
is there a way to install the gem with this fix?
i'm having problems installing the gem because i have gcc14.1.0

@KirtashW17

KirtashW17 commented May 16, 2024

Copy link
Copy Markdown
Author

hey, is there a way to install the gem with this fix? i'm having problems installing the gem because i have gcc14.1.0

Hi,
You could install your the from github adding this to your Gemfile:

gem 'nmatrix', git: 'https://github.com/KirtashW17/nmatrix_gpp10' # my version

or #632

gem 'nmatrix', git: 'https://github.com/plprofetes/nmatrix' # plprofetes version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

'10.2.1' < '4.3.0' is true

2 participants