generated from cubao/cmake_example
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
migrate to scikit-build-core, misc updates (#14)
* offset * partial sort (top k) * push first * clean repo * fix * lint code * Removed submodules * clean * update makefile * fix * add back git ignored files... * remove x * fix * good * update CI * fix * c++17 for macOS * fix CI * fix * fix * fix * fix CI * fix * fix windows build * fix windows build * not ready * fix mode * fix * fix M_PI * fix CI * fix CI * fix * fix * fix vector * disable parallel * move code * lint, trigger CI --------- Co-authored-by: TANG ZHIXIONG <[email protected]>
- Loading branch information
1 parent
b65d359
commit c24d18d
Showing
51 changed files
with
5,991 additions
and
354 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
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 |
---|---|---|
|
@@ -10,12 +10,19 @@ on: | |
types: | ||
- published | ||
|
||
env: | ||
FORCE_COLOR: 3 | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build_sdist: | ||
name: Build SDist | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
|
||
|
@@ -36,29 +43,22 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
|
||
# - name: Set up QEMU | ||
# if: runner.os == 'Linux' | ||
# uses: docker/setup-qemu-action@v2 | ||
# with: | ||
# platforms: all | ||
|
||
- uses: pypa/[email protected] | ||
- uses: pypa/[email protected] | ||
env: | ||
# CIBW_ARCHS: auto64 | ||
CIBW_ARCHS_LINUX: x86_64 # aarch64 | ||
CIBW_ARCHS_WINDOWS: AMD64 # ARM64 | ||
CIBW_ARCHS_MACOS: x86_64 arm64 | ||
CIBW_BEFORE_BUILD: pip install numpy fire --prefer-binary | ||
CIBW_ARCHS_MACOS: universal2 | ||
CIBW_ARCHS_WINDOWS: auto ARM64 | ||
CIBW_BEFORE_BUILD: pip install fire loguru numpy --prefer-binary && make data_pull | ||
# https://cibuildwheel.readthedocs.io/en/stable/options/#build-skip | ||
CIBW_SKIP: pp* *i686 *musllinux* | ||
CIBW_TEST_SKIP: "*macosx* *-win_arm64" | ||
CIBW_ENVIRONMENT: MACOSX_DEPLOYMENT_TARGET=10.14 | ||
|
||
- name: Verify clean directory | ||
run: git diff --exit-code | ||
|
@@ -86,6 +86,6 @@ jobs: | |
name: artifact | ||
path: dist | ||
|
||
- uses: pypa/gh-action-pypi-publish@v1.6.4 | ||
- uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
password: ${{ secrets.PYPI_API_TOKEN }} |
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 |
---|---|---|
|
@@ -5,7 +5,6 @@ _generate/ | |
*.so | ||
*.py[cod] | ||
*.egg-info | ||
*env* | ||
wheelhouse | ||
site | ||
data/* | ||
|
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
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 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 |
---|---|---|
@@ -0,0 +1,60 @@ | ||
// This file is part of Eigen, a lightweight C++ template library | ||
// for linear algebra. | ||
// | ||
// This Source Code Form is subject to the terms of the Mozilla | ||
// Public License v. 2.0. If a copy of the MPL was not distributed | ||
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
|
||
#ifndef EIGEN_EIGENVALUES_MODULE_H | ||
#define EIGEN_EIGENVALUES_MODULE_H | ||
|
||
#include "Core" | ||
|
||
#include "Cholesky" | ||
#include "Jacobi" | ||
#include "Householder" | ||
#include "LU" | ||
#include "Geometry" | ||
|
||
#include "src/Core/util/DisableStupidWarnings.h" | ||
|
||
/** \defgroup Eigenvalues_Module Eigenvalues module | ||
* | ||
* | ||
* | ||
* This module mainly provides various eigenvalue solvers. | ||
* This module also provides some MatrixBase methods, including: | ||
* - MatrixBase::eigenvalues(), | ||
* - MatrixBase::operatorNorm() | ||
* | ||
* \code | ||
* #include <Eigen/Eigenvalues> | ||
* \endcode | ||
*/ | ||
|
||
#include "src/misc/RealSvd2x2.h" | ||
#include "src/Eigenvalues/Tridiagonalization.h" | ||
#include "src/Eigenvalues/RealSchur.h" | ||
#include "src/Eigenvalues/EigenSolver.h" | ||
#include "src/Eigenvalues/SelfAdjointEigenSolver.h" | ||
#include "src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h" | ||
#include "src/Eigenvalues/HessenbergDecomposition.h" | ||
#include "src/Eigenvalues/ComplexSchur.h" | ||
#include "src/Eigenvalues/ComplexEigenSolver.h" | ||
#include "src/Eigenvalues/RealQZ.h" | ||
#include "src/Eigenvalues/GeneralizedEigenSolver.h" | ||
#include "src/Eigenvalues/MatrixBaseEigenvalues.h" | ||
#ifdef EIGEN_USE_LAPACKE | ||
#ifdef EIGEN_USE_MKL | ||
#include "mkl_lapacke.h" | ||
#else | ||
#include "src/misc/lapacke.h" | ||
#endif | ||
#include "src/Eigenvalues/RealSchur_LAPACKE.h" | ||
#include "src/Eigenvalues/ComplexSchur_LAPACKE.h" | ||
#include "src/Eigenvalues/SelfAdjointEigenSolver_LAPACKE.h" | ||
#endif | ||
|
||
#include "src/Core/util/ReenableStupidWarnings.h" | ||
|
||
#endif // EIGEN_EIGENVALUES_MODULE_H |
Oops, something went wrong.