Most JetBrains IDEs will work on ppc64le, as they are Java-based; however,
file update notifications will not, as the rely on a pre-compiled binary
called fsnotifier
. The source code for this binary is available at:
https://github.com/JetBrains/intellij-community/blob/master/native/fsNotifier/linux,
and the .c
and .h
files in this repo are taken from there.
This repo provides pre-compiled fsnotifier
binary for ppc64le, as well as
a Makefile
to build and install the ppc64le binary.
You can download a pre-compiled binary and then follow the directions in Configuring JetBrains applications.
Binary | sha256sum |
---|---|
fsnotifier-ppc64le | f335a30abdae24c052f3689f944c40f3ff413d60a3a595a7cbe358afdff0c6e9 |
$ make
Note this will emit a few warnings when compiled with gcc
, but these are okay.
Optionally, run:
$ make check
You can run:
$ sudo make install
By default this will install it under /usr/local/libexec
. To install in
another location, for example under ~/.local/libexec
run:
$ make prefix=~/.local install
Alternatively, you can leave the binary in this directory and point the
executable path to the fsnotifier-ppc64le
file.
After installing, add
idea.filewatcher.executable.path=/path/to/fsnotifier-ppc64le
to the config/idea.properties
file in the relevant profile directory. You
can quickly access this from the 'Custom VM Options' command under the 'Help'
menu. Or, from the welcome screen, this can be edited in 'Custom VM Options'
command under the 'Configure' drop-down. More details are available
here.