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

where to install OpenCilk #232

Open
behoppe opened this issue Aug 15, 2024 · 1 comment
Open

where to install OpenCilk #232

behoppe opened this issue Aug 15, 2024 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@behoppe
Copy link
Member

behoppe commented Aug 15, 2024

I recently upgraded to Ubuntu 22.04, which meant I could reinstall OpenCilk! Everything worked OK except for one glitch. As I adapted the installation instructions to my own case, I entered the command
$ sh opencilk-2.1.0-x86_64-linux-gnu-ubuntu-22.04.sh --prefix=~/opencilk --exclude-subdir
and got this error
opencilk-2.1.0-x86_64-linux-gnu-ubuntu-22.04.sh: 171: cd: can't cd to ~/opencilk
which confused me because I could $ cd ~/opencilk without any problem. I fixed the problem by dropping the ~:
$ sh opencilk-2.1.0-x86_64-linux-gnu-ubuntu-22.04.sh --prefix=/home/bruce/opencilk --exclude-subdir

My takeaway from the above experience was to rediscover #147 (updated install example) where, two years ago, @neboat @ailiop @DorothyCurtis had a detailed discussion about where to install OpenCilk. I'm not sure if I would change our current example, but I wonder if we can do more to share any of the wisdom in #147. Perhaps there's a good reference we can mention?

@behoppe behoppe added the documentation Improvements or additions to documentation label Aug 15, 2024
@behoppe behoppe self-assigned this Aug 15, 2024
@behoppe
Copy link
Member Author

behoppe commented Aug 22, 2024

@neboat @DorothyCurtis I tried another install with bash
$ bassh opencilk-2.1.0-x86_64-linux-gnu-ubuntu-22.04.sh --prefix=~/opencilk_2 --exclude-subdir
and got essentially the same error as I got with sh:
opencilk-2.1.0-x86_64-linux-gnu-ubuntu-22.04.sh: 171: cd: ~/opencilk_2: No such file or directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant