Skip to content

Commit 43fe028

Browse files
committed
Update README
1 parent 0bd803d commit 43fe028

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,22 @@ This mod internally uses (a fork of) the C library [cubiomes](https://github.com
5050

5151
To build the mod locally, follow these steps:
5252

53-
1. Compile cubiomes to a shared library. The following is for Windows:
53+
1. Clone the repository:
54+
```shell
55+
git clone --recurse-submodules https://github.com/xpple/SeedMapper
56+
cd SeedMapper
57+
```
58+
2. Compile cubiomes to a shared library. The following is for Windows:
5459
```shell
5560
gcc -shared -o src/main/resources/cubiomes.dll src/main/c/noise.c src/main/c/biomes.c src/main/c/layers.c src/main/c/biomenoise.c src/main/c/generator.c src/main/c/finders.c src/main/c/util.c src/main/c/quadbase.c -O3
5661
```
57-
2. Install LLVM (version 13.0.0 is recommended) and set the environment variable `LLVM_HOME` to the directory where LLVM was installed.
58-
3. Compile jextract:
62+
3. Install LLVM (version 13.0.0 is recommended) and set the environment variable `LLVM_HOME` to the directory where LLVM was installed.
63+
4. Compile jextract:
5964
```shell
6065
cd jextract
6166
./gradlew --stacktrace -Pjdk_home=$JAVA_HOME -Pllvm_home=$LLVM_HOME clean verify
6267
```
63-
4. Build the mod:
68+
5. Build the mod:
6469
```shell
6570
./gradlew build
6671
```

0 commit comments

Comments
 (0)