You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, database creation on M1-based Macintoshes does not currently work reliably.
We're actively working on the matter, but it's going to take some time yet to resolve some fascinating interactions between how CodeQL instruments the build environment to observe what is being compiled, and how MacOS supports mix-and-matching between binaries compiled for Intel and ones compiled natively for M1.
Unfortunately, database creation on M1-based Macintoshes does not currently work reliably.
We're actively working on the matter, but it's going to take some time yet to resolve some fascinating interactions between how CodeQL instruments the build environment to observe what is being compiled, and how MacOS supports mix-and-matching between binaries compiled for Intel and ones compiled natively for M1.
Thank you for showing me what the problem is, creation of databases in other languages (such as Python) is working :-)
Yes -- the difference is that for Python there's no "build process" we can attempt to observe, so CodeQL will just gobble up all the .py files it finds in the source tree and assume they're part of the program. With Java we can (usually) do better than that, but a side effect of that is that we have no "take all of the .java files" workflow ready to fall back on when the better solution fails, such as on M1 macs for the time being.
An error occurred when I used the CLI program to create a database for maven project:
The following is the log information generated:
The environment variable 'mvn' has been added and is working normally.
platform: macos 12 Monterey / m1 arm64
The text was updated successfully, but these errors were encountered: