Skip to content

Commit

Permalink
Merge pull request #114 from cassowaree/main
Browse files Browse the repository at this point in the history
  • Loading branch information
nythepegasus authored Aug 22, 2024
2 parents 8f53f99 + f7d635f commit 61ec40d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.11' # nuitka 2.2 does not support 3.12
python-version: '3.12'
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
cache: 'pip'
cache-dependency-path: |
Expand All @@ -47,7 +47,7 @@ jobs:
- name: Build Executable
uses: Nuitka/Nuitka-Action@main
with:
nuitka-version: 2.2.3 # 2.3 does not work on mac for some reason
nuitka-version: main
script-name: SideJITServer/launch.py

- name: Upload Compilation Report
Expand Down
2 changes: 0 additions & 2 deletions COMPILE.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,3 @@ Compilation lasts between 25-50 minutes depending on platform from an empty cach
When making a release, wait for the compilation to finish, and then download + attach the executables to the release after the jobs are finished.

If you want to compile it yourself on your own machine, study the launch.py file and the github workflow to understand how to do it, and change any configs as necessary to fit your machine architecture.

Note: currently pinned to python 3.11 and nuitka 2.2.3 since nuitka 2.3 does not work on Mac.
4 changes: 0 additions & 4 deletions SideJITServer/launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@
# nuitka-project-if: {OS} == "Darwin":
# nuitka-project: --output-filename=SideJITServer-mac-arm64.bin

# nuitka-project: --include-module=zeroconf._utils.ipaddress
# nuitka-project: --include-module=zeroconf._handlers.answers
# nuitka-project: --include-module=pkg_resources.extern

# nuitka-project: --report=compilation-report.xml

from SideJITServer import start_server
Expand Down

0 comments on commit 61ec40d

Please sign in to comment.