-
-
Notifications
You must be signed in to change notification settings - Fork 30
Make it compile on Windows #186
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
Open
tobiasdiez
wants to merge
131
commits into
sagemath:master
Choose a base branch
from
tobiasdiez:win
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
131 commits
Select commit
Hold shift + click to select a range
457e40a
Generate files into the build dir
tobiasdiez 1268c3f
Fix autogen on Windows
tobiasdiez 91474e8
Fix compilation on Windows
tobiasdiez d9c25ca
Add workaround for `#define long long long` in Pari
tobiasdiez f0c5062
Use less `paripriv`
tobiasdiez d6540c3
Activate pari compatibility hacks only for MSVC
tobiasdiez 5cac4aa
Add small test script in Meson build to get Pari version
tobiasdiez f6a3a09
Fix CI
tobiasdiez e234cef
Add conda environments
tobiasdiez 79cd73d
Fix tests
tobiasdiez 97d8ead
Also build on Windows (CI)
tobiasdiez fd336b8
Improve install-pari script to reuse existing downloads
tobiasdiez 51919af
Fix tests
tobiasdiez 8a278cf
Also install wget
tobiasdiez 2830da9
Execute windows stuff in msys2
tobiasdiez eef1139
Fix download url
tobiasdiez b656f6e
Try without explicit prefix
tobiasdiez c2dc48b
Fix dist workflow
tobiasdiez b3164ec
Enhance installation script for PARI on Windows
tobiasdiez d571259
Update PARI version for Windows jobs to 2.15.4
tobiasdiez cf96567
Fix tests on Linux, and fix compilation (partly) on my windows system
tobiasdiez 20c2d77
Try with separate make targets on Win
tobiasdiez da95cdc
Fix msys checks
tobiasdiez e0d21ec
Another round of platform detection improvements
tobiasdiez feae01c
Fix installation on windows CI, maybe?
tobiasdiez 0344b1d
Switch to correct build folder for subsequent make targets
tobiasdiez a5623d0
Don't build exe on windows
tobiasdiez 4bed1f6
Try to setup python after mingw
tobiasdiez 926f14a
Try to fix python path
tobiasdiez 69c0d74
Readd building of the static pari lib
tobiasdiez 9ad5998
try a different way to set path
tobiasdiez 1be28d0
Use cygpath
tobiasdiez b05488b
And now without the stupid bin
tobiasdiez 561d6a8
Set include and lib path
tobiasdiez 1a66dd5
add print output
tobiasdiez 8d7a47e
explicitly install mingw-w64-ucrt-x86_64-gcc
tobiasdiez ded0f74
Use pip install directly
tobiasdiez e1bae6b
Add simple test compilation
tobiasdiez f60ac70
Improve test
tobiasdiez 7d13422
more playing around
tobiasdiez 3d72238
Also install gmp
tobiasdiez 1b8eb56
explicit lgmp
tobiasdiez d92c61d
with meson directly?
tobiasdiez 3d1aa87
add cc -v
tobiasdiez 588adfc
as -v has_header
tobiasdiez 19538ae
with inherit path?
tobiasdiez 2ed7202
include dir relative to windows
tobiasdiez f5732dc
more debug output
tobiasdiez a14ae25
More debug
tobiasdiez 252b212
try directly
tobiasdiez c8821df
cygpath -am
tobiasdiez 2262c6e
without ":"
tobiasdiez 01c0e0d
Declare dependency on gmp manually
tobiasdiez b4077f7
install pkg-config
tobiasdiez 02faaf3
fix meson
tobiasdiez 0612c09
Make gmp optional (as pari might not have been built against using it)
tobiasdiez d293943
Get pari datadir via pari lib not gp exe
tobiasdiez 98f56cc
Convert relative to absolute imports
tobiasdiez 271ce1d
Use msys python
tobiasdiez f790c89
properly comment lines
tobiasdiez ce0678d
Set include and lib path correctly again
tobiasdiez 4953e06
Temporarily disable cysignals
tobiasdiez b4a1920
Extend readme
tobiasdiez 3815271
Add proper smoke test for Pari install
tobiasdiez 9f40a40
Install gmp on macos
tobiasdiez e4b8105
Print output of smoke test
tobiasdiez 22abd00
Remove 'pari-' prefix
tobiasdiez e65f0da
remove deleted autogen paths
tobiasdiez bd95195
Fix homebrew install cmd
tobiasdiez e8a52fa
Improve test output
tobiasdiez 6ab7812
Normalize eol
tobiasdiez 1787a6a
fix install script
tobiasdiez 721e19d
Fix smoke test on macOS
tobiasdiez 6223733
cosmetic improvements
tobiasdiez 51d15e3
Fix cinclude and lib path
tobiasdiez 35a7be4
Fix windows paths?
tobiasdiez 498cac1
Build dynamic pari
tobiasdiez 5b61202
Add cython version of readme example
tobiasdiez ddcf8b7
Streamline mingw packages to install
tobiasdiez 7a502cd
Make meson build more robust
tobiasdiez ef24a3c
Fix installation prefix for msys
tobiasdiez 04890dd
reactivate cysignals
tobiasdiez 70dcafe
fix parser test
tobiasdiez 373fd62
also install in usr for macos
tobiasdiez 89df3c9
Merge remote-tracking branch 'origin/master' into win
tobiasdiez ab6c91c
Use pari from homebrew
tobiasdiez 8d72435
fix macos build
tobiasdiez 7677593
Further fixes for macos
tobiasdiez 05cf348
try with direct path to cellar
tobiasdiez e1fb875
fix typo
tobiasdiez 2913150
add debug for macos
tobiasdiez 1b699d3
try with DYLD_LIBRARY_PATH
tobiasdiez 54228e6
try without static
tobiasdiez 5e730e1
wip - gcc->clang on macOS
dimpase 107c5d6
use clang also in the second example
tobiasdiez a7c6397
WIP: brew prefix
dimpase 3873775
cleanup macos stuff a bit
tobiasdiez 36bb57b
fix macos headers
tobiasdiez 898c954
.install-pari.sh to support *BSD
dimpase b06a3b2
Use uv and fix wheel building
tobiasdiez 50f2c95
install wget
tobiasdiez 8fa32e6
fix wget install
tobiasdiez 7e4c3dd
another try...
tobiasdiez 0bcf5cd
don't need sudo
tobiasdiez 52910b0
Add step to install PARI before building sdist
tobiasdiez 01f3cce
Install sudo if not present before building on Linux or macOS
tobiasdiez dd4dab4
Use uv to run make check and build docs
tobiasdiez 9a96d23
Change file mode of .install-pari.sh to make it executable
tobiasdiez b4da4d6
Remove non-functional sudo from devtoolset in install script
tobiasdiez 640b1a1
Install sudo non-interactively
tobiasdiez 77a02e2
Add macOS before-all step to install PARI using Homebrew
tobiasdiez b726b20
Add environment-pass for CI and GitHub Actions in cibuildwheel config…
tobiasdiez 483eeea
install sphinx with uv
tobiasdiez 7918f52
Require Python 3.12 or later
tobiasdiez c8d61c6
Set macOS deployment target to 13 in cibuildwheel configuration
tobiasdiez ae23240
Add diagnostic output for PARI installation script
tobiasdiez f54ba1b
Enhance diagnostic output
tobiasdiez ecedd12
Update macOS deployment target configuration in cibuildwheel
tobiasdiez 784c9e0
more output
tobiasdiez ffaafa6
Fix build docs command to use correct group name
tobiasdiez cd2b26e
fix macos
tobiasdiez 271efe5
make autogen tests optional (not in wheel)
tobiasdiez 71eb5a4
Add GMP installation support in install script
tobiasdiez 09e61be
Move libpari to /usr/lib64 on RHEL/CentOS/Fedora if applicable
tobiasdiez e9c0746
Don't build wheels for 3.14 yet
tobiasdiez 1ae226f
fix ubuntu...
tobiasdiez 3722838
Add check for dnf before installing gmp-devel on Linux
tobiasdiez 21ef645
Add support for installing sudo using dnf or apt-get
tobiasdiez fce20c4
Set MACOSX_DEPLOYMENT_TARGET correctly
tobiasdiez 3d89017
add support for alpine as well
tobiasdiez ce6cbdc
fix syntax in macos part
tobiasdiez File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.