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?
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-subdirand got this error
opencilk-2.1.0-x86_64-linux-gnu-ubuntu-22.04.sh: 171: cd: can't cd to ~/opencilkwhich confused me because I could
$ cd ~/opencilkwithout 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-subdirMy 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?