Skip to content

Commit 32965f3

Browse files
author
Dennis Labordus
authored
Merge pull request #95 from com-pas/M1_Documentation
Added documentation for Apple M1 Chip
2 parents 6dd4c6a + 61c676a commit 32965f3

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

DEVELOPMENT.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ SPDX-License-Identifier: Apache-2.0
66

77
# Development for CoMPAS SCL Validator
88

9+
10+
---
11+
**Note**
12+
Mac M1 chip users, see [below](#mac-m1)
13+
14+
---
15+
16+
917
Since version 1.2.x the JAR Files of RiseClipse are distributed through Maven Central Repository. The JAR Files can be
1018
retrieved from there and don't need to be build locally anymore. Only the OCL Files for the SCL validation still need to
1119
be downloaded from RiseClipse GIT Repository. This is still done using Git Submodules.
@@ -159,3 +167,14 @@ with JVM executable using:
159167
```shell script
160168
./mvnw package -Pjvm-image
161169
```
170+
171+
## Mac M1
172+
173+
The Mac M1 chip is ARM based. In order to make this project work, you need to install the x86 version of your IDE.
174+
You also need Rosetta2 to virtualize your os. In the x86 version of your IDE, you also need to install the x86 Java version.
175+
You can use SDK-Man to easily switch between java versions.
176+
177+
While calling maven scripts, you need to add the os.arch flag.
178+
```shell script
179+
./mvnw clean compile -Dos.arch=x86_64
180+
```

0 commit comments

Comments
 (0)