forked from flintlib/flint
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request flintlib#1591 from albinahlback/drop_mpir
Drop MPIR
- Loading branch information
Showing
48 changed files
with
182 additions
and
405 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -484,18 +484,16 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: "Setup Conda" | ||
uses: conda-incubator/[email protected] | ||
- name: "Setup cache for dependencies" | ||
uses: actions/github-script@v6 | ||
with: | ||
miniconda-version: "latest" | ||
channels: conda-forge | ||
script: | | ||
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || ''); | ||
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || ''); | ||
- name: "Install dependencies" | ||
run: | | ||
conda install --yes -c conda-forge mpfr | ||
conda install --yes -c conda-forge pthreads-win32 | ||
conda info | ||
conda list | ||
vcpkg install gmp mpfr pthreads --binarysource="clear;x-gha,readwrite" | ||
- name: "Setup MSVC" | ||
uses: ilammy/[email protected] | ||
|
@@ -508,19 +506,15 @@ jobs: | |
run: | | ||
mkdir build | ||
cd build | ||
set "LIB=C:\Miniconda3\Library\lib;%LIB%" | ||
set "CPATH=C:\Miniconda3\Library\include;%CPATH%" | ||
# For single build, we need atomics | ||
cmake -G "Ninja" -DCMAKE_C_FLAGS="/wd4018 /wd4146 /wd4244 /wd4267 /wd4305 /wd4996 /DFLINT_NO_CA_MAT_EXP_TEST /std:c11 /experimental:c11atomics" -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=Release .. | ||
cmake -G "Ninja" -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_C_FLAGS="/wd4018 /wd4146 /wd4244 /wd4267 /wd4305 /wd4996 /std:c11 /experimental:c11atomics" -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=Release .. | ||
- name: "Build" | ||
run: | | ||
cd build | ||
cmake --build . -- -j3 | ||
# FIXME: Preferably drop support of CMake and native Windows, or fix so | ||
# that we can include the test again. | ||
- name: "Test everything except where MPIR fails" | ||
- name: "Check" | ||
run: | | ||
cd build | ||
set "FLINT_TEST_MULTIPLIER=1" | ||
|
This file contains 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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.