Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to_be_raptor_linx to add default location of license file #1558

Merged
merged 4 commits into from
Mar 4, 2024

Conversation

NadeemYaseen
Copy link
Contributor

@NadeemYaseen NadeemYaseen commented Mar 4, 2024

In GUI, we already have the option to copy the license file to the $HOME/.local/Rapidsilicon location with the name raptor.lic.
In the wrapper script, setting this path as the value of the LICENSE_LOCATION variable will make raptor.exe find the license file easily.

@@ -10,6 +10,8 @@ RAPTOR_PATH=`( cd "$SCRIPT_PATH" && pwd )`

[ -f $RAPTOR_PATH/../.raptorenv_lin64.sh ] && source $RAPTOR_PATH/../.raptorenv_lin64.sh

export LICENSE_LOCATION=$HOME/.local/Rapidsilicon/raptor.lic\;$LICENSE_LOCATION
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is that possible to take this path from etc/config.json? otherwise we have copy/paste code in very different places and this will be hard to handle in future

@alaindargelas alaindargelas merged commit 38743d7 into main Mar 4, 2024
35 checks passed
@alaindargelas alaindargelas deleted the defaultlicLocation branch March 4, 2024 15:41
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.

3 participants