Skip to content

vddvss/fsnotifier-ppc64le

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JetBrains fsnotifier for ppc64le

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.

Binary download

You can download a pre-compiled binary and then follow the directions in Configuring JetBrains applications.

Binary sha256sum
fsnotifier-ppc64le f335a30abdae24c052f3689f944c40f3ff413d60a3a595a7cbe358afdff0c6e9

Building from source

$ make

Note this will emit a few warnings when compiled with gcc, but these are okay.

Optionally, run:

$ make check

Installing

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.

Configuring JetBrains applications

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.