Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS on M1 #224

Merged
merged 1 commit into from Apr 11, 2024
Merged

macOS on M1 #224

merged 1 commit into from Apr 11, 2024

Conversation

santoszv
Copy link
Contributor

Tested on:
macOS Monterey
Version 12.4
Chip Apple M1

Observations:
It does not compile with "org.gradle.caching=true" in "gradle.properties"

Tested on:
macOS Monterey
Version 12.4
Chip Apple M1
@nedtwigg
Copy link
Contributor

I compiled this locally with ./gradlew assemble and it worked great. Thanks!

@Frotty
Copy link

Frotty commented Apr 9, 2024

@karlsabo Can you take a look at this?

Copy link
Member

@karlsabo karlsabo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine. I don't have a mac to test it on.

@@ -82,7 +82,7 @@ tasks.withType(CppCompile::class).configureEach {

dependencies {
implementation(project(":DrOpt"))
testImplementation("org.gradle.cpp-samples:googletest:1.9.0-gr4-SNAPSHOT")
//testImplementation("org.gradle.cpp-samples:googletest:1.9.0-gr4-SNAPSHOT")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we delete this line? Did Gradle drop support for googletest?

@santoszv
Copy link
Contributor Author

I do not remember why I included Google Test source code, instead of using it as a depenency. Today is 2024 and the commit is dated 2022, maybe there is a recent version and included source code is outdated.

Also, there are some changes in build scripts for supporting M1 chip, maybe a recent version of Gradle do not need this changes.

@karlsabo karlsabo merged commit 2f257ac into libgdx:master Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants