Skip to content

Commit 192c775

Browse files
committed
update eigen to 3.4
1 parent a5e40e7 commit 192c775

1,797 files changed

Lines changed: 394939 additions & 261 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/main.yml

Lines changed: 22 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Windows RTools 3.5
1+
name: Windows RTools 4.0
22

33
on:
44
pull_request:
@@ -22,19 +22,17 @@ jobs:
2222
with:
2323
token: ${{ secrets.GITHUB_TOKEN }}
2424
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/master' && github.ref != 'refs/heads/develop'"
25-
25+
2626
- uses: actions/checkout@v2
2727
- uses: actions/setup-python@v2
2828
with:
2929
python-version: '2.x'
30-
- name: Download RTools
31-
run: Invoke-WebRequest -Uri https://cran.rstudio.com/bin/windows/Rtools/Rtools35.exe -OutFile ./R35.exe
32-
- name: Install RTools
33-
shell: powershell
34-
run: Start-Process -FilePath ./R35.exe -ArgumentList /VERYSILENT -NoNewWindow -Wait
35-
- name: PATH Setup
36-
shell: powershell
37-
run: echo "C:/Rtools/bin;C:/Rtools/mingw_64/bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
30+
- uses: r-lib/actions/setup-r@v1
31+
with:
32+
r-version: 'release'
33+
- name: Set path for RTools 4.0
34+
if: runner.os == 'Windows'
35+
run: echo "C:/rtools40/usr/bin;C:/rtools40/mingw64/bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
3836
- name: Print g++ & make version and path
3937
shell: powershell
4038
run: |
@@ -56,7 +54,7 @@ jobs:
5654
python.exe runTests.py -j2 test/unit/math/prim
5755
python.exe runTests.py -j2 test/unit/math/rev
5856
python.exe runTests.py -j2 test/unit/math/memory
59-
57+
6058
- name: Upload gtest_output xml
6159
uses: actions/upload-artifact@v2
6260
if: failure()
@@ -72,14 +70,12 @@ jobs:
7270
- uses: actions/setup-python@v2
7371
with:
7472
python-version: '2.x'
75-
- name: Download RTools
76-
run: Invoke-WebRequest -Uri https://cran.rstudio.com/bin/windows/Rtools/Rtools35.exe -OutFile ./R35.exe
77-
- name: Install RTools
78-
shell: powershell
79-
run: Start-Process -FilePath ./R35.exe -ArgumentList /VERYSILENT -NoNewWindow -Wait
80-
- name: PATH Setup
81-
shell: powershell
82-
run: echo "C:/Rtools/bin;C:/Rtools/mingw_64/bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
73+
- uses: r-lib/actions/setup-r@v1
74+
with:
75+
r-version: 'release'
76+
- name: Set path for RTools 4.0
77+
if: runner.os == 'Windows'
78+
run: echo "C:/rtools40/usr/bin;C:/rtools40/mingw64/bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
8379
- name: Print g++ & make version and path
8480
shell: powershell
8581
run: |
@@ -118,14 +114,12 @@ jobs:
118114
- uses: actions/setup-python@v2
119115
with:
120116
python-version: '2.x'
121-
- name: Download RTools
122-
run: Invoke-WebRequest -Uri https://cran.rstudio.com/bin/windows/Rtools/Rtools35.exe -OutFile ./R35.exe
123-
- name: Install RTools
124-
shell: powershell
125-
run: Start-Process -FilePath ./R35.exe -ArgumentList /VERYSILENT -NoNewWindow -Wait
126-
- name: PATH Setup
127-
shell: powershell
128-
run: echo "C:/Rtools/bin;C:/Rtools/mingw_64/bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
117+
- uses: r-lib/actions/setup-r@v1
118+
with:
119+
r-version: 'release'
120+
- name: Set path for RTools 4.0
121+
if: runner.os == 'Windows'
122+
run: echo "C:/rtools40/usr/bin;C:/rtools40/mingw64/bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
129123
- name: Print g++ & make version and path
130124
shell: powershell
131125
run: |
@@ -143,7 +137,7 @@ jobs:
143137
shell: powershell
144138
run: |
145139
python.exe runTests.py test/unit/math/mix/fun
146-
140+
147141
- name: Upload gtest_output xml
148142
uses: actions/upload-artifact@v2
149143
if: failure()

lib/eigen_3.4/.gitignore

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
qrc_*cxx
2+
*.orig
3+
*.pyc
4+
*.diff
5+
diff
6+
*.save
7+
save
8+
*.old
9+
*.gmo
10+
*.qm
11+
core
12+
core.*
13+
*.bak
14+
*~
15+
*build*
16+
*.moc.*
17+
*.moc
18+
ui_*
19+
CMakeCache.txt
20+
tags
21+
.*.swp
22+
activity.png
23+
*.out
24+
*.php*
25+
*.log
26+
*.orig
27+
*.rej
28+
log
29+
patch
30+
*.patch
31+
a
32+
a.*
33+
lapack/testing
34+
lapack/reference
35+
.*project
36+
.settings
37+
Makefile
38+
!ci/build.gitlab-ci.yml

lib/eigen_3.4/.gitlab-ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# This file is part of Eigen, a lightweight C++ template library
2+
# for linear algebra.
3+
#
4+
# Copyright (C) 2020 Arm Ltd. and Contributors
5+
#
6+
# This Source Code Form is subject to the terms of the Mozilla
7+
# Public License v. 2.0. If a copy of the MPL was not distributed
8+
# with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
9+
10+
stages:
11+
- buildsmoketests
12+
- smoketests
13+
- build
14+
- test
15+
16+
variables:
17+
BUILDDIR: builddir
18+
EIGEN_CI_CMAKE_GENEATOR: "Ninja"
19+
20+
include:
21+
- "/ci/smoketests.gitlab-ci.yml"
22+
- "/ci/build.gitlab-ci.yml"
23+
- "/ci/test.gitlab-ci.yml"
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
<!--
2+
Please read this!
3+
4+
Before opening a new issue, make sure to search for keywords in the issues
5+
filtered by "bug::confirmed" or "bug::unconfirmed" and "bugzilla" label:
6+
7+
- https://gitlab.com/libeigen/eigen/-/issues?scope=all&utf8=%E2%9C%93&state=opened&label_name[]=bug%3A%3Aconfirmed
8+
- https://gitlab.com/libeigen/eigen/-/issues?scope=all&utf8=%E2%9C%93&state=opened&label_name[]=bug%3A%3Aunconfirmed
9+
- https://gitlab.com/libeigen/eigen/-/issues?scope=all&utf8=%E2%9C%93&state=opened&label_name[]=bugzilla
10+
11+
and verify the issue you're about to submit isn't a duplicate. -->
12+
13+
### Summary
14+
<!-- Summarize the bug encountered concisely. -->
15+
16+
### Environment
17+
<!-- Please provide your development environment here -->
18+
- **Operating System** : Windows/Linux
19+
- **Architecture** : x64/Arm64/PowerPC ...
20+
- **Eigen Version** : 3.3.9
21+
- **Compiler Version** : Gcc7.0
22+
- **Compile Flags** : -O3 -march=native
23+
- **Vector Extension** : SSE/AVX/NEON ...
24+
25+
### Minimal Example
26+
<!-- If possible, please create a minimal example here that exhibits the problematic behavior.
27+
You can also link to [godbolt](https://godbolt.org). But please note that you need to click
28+
the "Share" button in the top right-hand corner of the godbolt page where you reproduce the sample
29+
code to get the share link instead of in your browser address bar.
30+
31+
You can read [the guidelines on stackoverflow](https://stackoverflow.com/help/minimal-reproducible-example)
32+
on how to create a good minimal example. -->
33+
34+
```cpp
35+
//show your code here
36+
```
37+
38+
### Steps to reproduce
39+
<!-- Describe how one can reproduce the issue - this is very important. Please use an ordered list. -->
40+
41+
1. first step
42+
2. second step
43+
3. ...
44+
45+
### What is the current *bug* behavior?
46+
<!-- Describe what actually happens. -->
47+
48+
### What is the expected *correct* behavior?
49+
<!-- Describe what you should see instead. -->
50+
51+
### Relevant logs
52+
<!-- Add relevant code snippets or program output within blocks marked by " ``` " -->
53+
54+
<!-- OPTIONAL: remove this section if you are not reporting a compilation warning issue.-->
55+
### Warning Messages
56+
<!-- Show us the warning messages you got! -->
57+
58+
<!-- OPTIONAL: remove this section if you are not reporting a performance issue. -->
59+
### Benchmark scripts and results
60+
<!-- Please share any benchmark scripts - either standalone, or using [Google Benchmark](https://github.com/google/benchmark). -->
61+
62+
### Anything else that might help
63+
<!-- It will be better to provide us more information to help narrow down the cause.
64+
Including but not limited to the following:
65+
- lines of code that might help us diagnose the problem.
66+
- potential ways to address the issue.
67+
- last known working/first broken version (release number or commit hash). -->
68+
69+
- [ ] Have a plan to fix this issue.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
### Describe the feature you would like to be implemented.
2+
3+
### Would such a feature be useful for other users? Why?
4+
5+
### Any hints on how to implement the requested feature?
6+
7+
### Additional resources
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<!--
2+
Thanks for contributing a merge request! Please name and fully describe your MR as you would for a commit message.
3+
If the MR fixes an issue, please include "Fixes #issue" in the commit message and the MR description.
4+
5+
In addition, we recommend that first-time contributors read our [contribution guidelines](https://eigen.tuxfamily.org/index.php?title=Contributing_to_Eigen) and [git page](https://eigen.tuxfamily.org/index.php?title=Git), which will help you submit a more standardized MR.
6+
7+
Before submitting the MR, you also need to complete the following checks:
8+
- Make one PR per feature/bugfix (don't mix multiple changes into one PR). Avoid committing unrelated changes.
9+
- Rebase before committing
10+
- For code changes, run the test suite (at least the tests that are likely affected by the change).
11+
See our [test guidelines](https://eigen.tuxfamily.org/index.php?title=Tests).
12+
- If possible, add a test (both for bug-fixes as well as new features)
13+
- Make sure new features are documented
14+
15+
Note that we are a team of volunteers; we appreciate your patience during the review process.
16+
17+
Again, thanks for contributing! -->
18+
19+
### Reference issue
20+
<!-- You can link to a specific issue using the gitlab syntax #<issue number> -->
21+
22+
### What does this implement/fix?
23+
<!--Please explain your changes.-->
24+
25+
### Additional information
26+
<!--Any additional information you think is important.-->

lib/eigen_3.4/.hgeol

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[patterns]
2+
*.sh = LF
3+
*.MINPACK = CRLF
4+
scripts/*.in = LF
5+
debug/msvc/*.dat = CRLF
6+
debug/msvc/*.natvis = CRLF
7+
unsupported/test/mpreal/*.* = CRLF
8+
** = native
9+
10+
[repository]
11+
native = LF

0 commit comments

Comments
 (0)