https://github.com/Glavo/JetBrains-IDE-Multiarch
JetBrains IDEs for Linux RISC-V 64/LoongArch64
https://github.com/Glavo/JetBrains-IDE-Multiarch
ide intellij java jetbrains loongarch risc-v
Last synced: 21 days ago
JSON representation
JetBrains IDEs for Linux RISC-V 64/LoongArch64
- Host: GitHub
- URL: https://github.com/Glavo/JetBrains-IDE-Multiarch
- Owner: Glavo
- Created: 2024-09-03T12:17:41.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-08-21T10:54:04.000Z (about 2 months ago)
- Last Synced: 2025-08-21T12:38:46.070Z (about 2 months ago)
- Topics: ide, intellij, java, jetbrains, loongarch, risc-v
- Language: C
- Homepage:
- Size: 3.55 MB
- Stars: 42
- Watchers: 5
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JetBrains IDEs for Linux LoongArch64/RISC-V 64
This project provides JetBrains IDEs distributions for more architectures.
Currently supported platforms:
* Linux RISC-V 64 (glibc 2.34+)
* Linux LoongArch64 ([New World](https://areweloongyet.com/en/docs/old-and-new-worlds/), glibc 2.38+)Currently supported IDEs:
* IntelliJ IDEA Community Edition
* IntelliJ IDEA Ultimate
* PyCharm
* PyCharm Community EditionIDEs that work, but need more validation:
* WebStorm
* Goland
* RubyMineCurrently unsupported IDEs (some important features are not available):
* CLion
* RustRover
* Rider (https://github.com/Glavo/JetBrains-IDE-Multiarch/issues/3)This project is sponsored by [PLCT Lab](https://plctlab.org).
## Download the pre-built IDEs
We provide pre-built distributions for the IDEs that can be redistributed.
| | RISC-V 64 | LoongArch64 |
|-----------------------------------------------------------------|----------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| IntelliJ IDEA Community Edition (2025.1.3+0) | [tag.gz](https://github.com/Glavo/JetBrains-IDE-Multiarch/releases/download/idea%2F2025.1.3%2B0/ideaIC-2025.1.3+0-riscv64.tar.gz)
[deb](https://github.com/Glavo/JetBrains-IDE-Multiarch/releases/download/idea%2F2025.1.3%2B0/ideaIC-2025.1.3+0-riscv64.deb) | [tag.gz](https://github.com/Glavo/JetBrains-IDE-Multiarch/releases/download/idea%2F2025.1.3%2B0/ideaIC-2025.1.3+0-loongarch64.tar.gz)
[deb (AOSC OS)](https://github.com/Glavo/JetBrains-IDE-Multiarch/releases/download/idea%2F2025.1.3%2B0/ideaIC-2025.1.3+0-loongarch64.deb)
[deb (Debian/Deepin/Loongnix)](https://github.com/Glavo/JetBrains-IDE-Multiarch/releases/download/idea%2F2025.1.3%2B0/ideaIC-2025.1.3+0-loong64.deb) |
| PyCharm Community (2025.1.3.1+0) | [tag.gz](https://github.com/Glavo/JetBrains-IDE-Multiarch/releases/download/pycharm%2F2025.1.3.1%2B0/pycharm-community-2025.1.3.1+0-riscv64.tar.gz)
[deb](https://github.com/Glavo/JetBrains-IDE-Multiarch/releases/download/pycharm%2F2025.1.3.1%2B0/pycharm-community-2025.1.3.1+0-riscv64.deb) | [tag.gz](https://github.com/Glavo/JetBrains-IDE-Multiarch/releases/download/pycharm%2F2025.1.3.1%2B0/pycharm-community-2025.1.3.1+0-loongarch64.tar.gz)
[deb (AOSC OS)](https://github.com/Glavo/JetBrains-IDE-Multiarch/releases/download/pycharm%2F2025.1.3.1%2B0/pycharm-community-2025.1.3.1+0-loongarch64.deb)
[deb (Debian/Deepin/Loongnix)](https://github.com/Glavo/JetBrains-IDE-Multiarch/releases/download/pycharm%2F2025.1.3.1%2B0/pycharm-community-2025.1.3.1+0-loong64.deb) |As for other IDEs, we are not allowed to redistribute them.
Please [build them yourself](#Building).> [!NOTE]
> Since [PyCharm Community has been replaced by PyCharm](https://blog.jetbrains.com/pycharm/2025/04/unified-pycharm/), which is not allowed to be redistributed,
> we will no longer provide pre-built files for PyCharm in the future.
>
> If you want to continue using PyCharm, please build it yourself according to the following documentation.## Building
The work of this project is to download the official IDE distribution,
patch the IDE with self-built native binaries and generate distributions for the target platform.The scripts that do this are based on Gradle and require OpenJDK (>= 21) to run.
With OpenJDK installed and the `JAVA_HOME` environment variable set,
run the following command replacing `$PRODUCT_CODE` with the product code of the IDE you want to build
and `$ARCH` with the simple name of the target architecture:```
./gradlew transform$PRODUCT_CODE-$ARCH
```For Debian, Ubuntu, AOSC OS and other distributions using dpkg/apt as package manager,
you can create a deb package using the following command:```
./gradlew createDeb$PRODUCT_CODE-$ARCH
````$PRODUCT_CODE` for IDEs:
* IntelliJ IDEA Community Edition: `IC`
* IntelliJ IDEA Ultimate: `IU`
* PyCharm: `PY`
* PyCharm Community: `PC`
* WebStorm: `WS`
* Goland: `GO`
* RustRover: `RR`
* RubyMine: `RM`
* PhpStorm: `PS``$ARCH` for architectures:
* RISC-V 64: `riscv64`
* LoongArch64: `loongarch64`
* The `createDeb` task has two variants for LoongArch64: `createDeb$PRODUCT_CODE-loongarch64` and `createDeb$PRODUCT_CODE-loong64`.
The former is only used for AOSC OS, the latter is suitable for other distributions.The IDE distribution will be built into `./build/target/`.
### Build native binaries
We have pre-built native binaries for some platforms.
By default, the project downloads these prebuilt binaries and patches the IDE with them.
You can also build them yourself.Building native binaries requires:
* GCC
* Cargo (>= 1.82.0)This project supports cross-compiling native binaries.
To cross-compile binaries, you need to have the GCC Cross-Compiler for your target platform installed and Cargo
configured for that.Running `./gradlew buildNatives-$ARCH` builds native binaries for the target platform,
the built native binaries will be packaged into the file `./resources/natives-linux-$ARCH.zip`.
When this file exists, the script will use it first to patch the IDE instead of downloading the prebuilt binary.### Customizing the bundled Java runtime
JetBrains IDEs require a Java runtime environment to run.
We have pre-built JDKs for some platforms.
By default, this project downloads these pre-built JDKs and bundles them into the IDE distribution.
You can replace the default Java runtime environment via the project properties:```
./gradlew transform$PRODUCT_CODE-$ARCH -Pjdk.linux.$ARCH.url="..."
```The URL should point to a JDK distribution in `.tar.gz` or `.zip` format.
If you want to build the JDK yourself,
we recommend using the [JetBrains Runtime](https://github.com/JetBrains/JetBrainsRuntime) for the best experience.For Linux LoongArch64, since OpenJDK mainline does not provide full support for LoongArch64,
it is recommended to build based on [loongson/jdk21u](https://github.com/loongson/jdk21u).## To-do list
* Using JBR on Linux LoongArch64.