Skip to content

Commit 5ae263f

Browse files
committed
co
1 parent c71237d commit 5ae263f

File tree

460 files changed

+57212
-14
lines changed

Some content is hidden

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

460 files changed

+57212
-14
lines changed

.github/workflows/run_tests.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
strategy:
2020
fail-fast: false
2121
matrix:
22-
os: [ubuntu-latest, windows-latest, macos-13]
22+
os: [ubuntu-latest, windows-latest, macos-13, macos-14]
2323
version: ["3.10", "3.13"]
2424
defaults:
2525
run:
@@ -35,8 +35,8 @@ jobs:
3535
uses: actions/setup-python@v4
3636
with:
3737
python-version: ${{ matrix.version }}
38-
- name: Install OMP (MacOS)
39-
if: runner.os == 'macOS'
38+
- name: Install OMP (MacOS Intel)
39+
if: matrix.platform == 'macos-13'
4040
run: |
4141
brew install llvm libomp
4242
echo "export CC=/usr/local/opt/llvm/bin/clang" >> ~/.bashrc
@@ -45,6 +45,16 @@ jobs:
4545
echo "export CXXFLAGS=\"$CXXFLAGS -I/usr/local/opt/libomp/include\"" >> ~/.bashrc
4646
echo "export LDFLAGS=\"$LDFLAGS -Wl,-rpath,/usr/local/opt/libomp/lib -L/usr/local/opt/libomp/lib -lomp\"" >> ~/.bashrc
4747
source ~/.bashrc
48+
- name: Install OMP (MacOS M1)
49+
if: matrix.platform == 'macos-14'
50+
run: |
51+
brew install llvm libomp
52+
echo "export CC=/opt/homebrew/opt/llvm/bin/clang" >> ~/.bashrc
53+
echo "export CXX=/opt/homebrew/opt/llvm/bin/clang++" >> ~/.bashrc
54+
echo "export CFLAGS=\"$CFLAGS -I/opt/homebrew/opt/libomp/include\"" >> ~/.bashrc
55+
echo "export CXXFLAGS=\"$CXXFLAGS -I/opt/homebrew/opt/libomp/include\"" >> ~/.bashrc
56+
echo "export LDFLAGS=\"$LDFLAGS -Wl,-rpath,/opt/homebrew/opt/libomp/lib -L/opt/homebrew/opt/libomp/lib -lomp\"" >> ~/.bashrc
57+
source ~/.bashrc
4858
- name: Install OMP (Linux)
4959
if: runner.os == 'Linux'
5060
run: |

cpp/RAT2/CoderTimeAPI.cpp

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
//
2+
// Non-Degree Granting Education License -- for use at non-degree
3+
// granting, nonprofit, education, and research organizations only. Not
4+
// for commercial or industrial use.
5+
//
6+
// CoderTimeAPI.cpp
7+
//
8+
// Code generation for function 'CoderTimeAPI'
9+
//
10+
11+
// Include files
12+
#include "CoderTimeAPI.h"
13+
#include "RATMain_data.h"
14+
#include "rt_nonfinite.h"
15+
16+
// Function Definitions
17+
namespace RAT
18+
{
19+
void freq_not_empty_init()
20+
{
21+
freq_not_empty = false;
22+
}
23+
}
24+
25+
// End of code generation (CoderTimeAPI.cpp)

cpp/RAT2/CoderTimeAPI.h

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
//
2+
// Non-Degree Granting Education License -- for use at non-degree
3+
// granting, nonprofit, education, and research organizations only. Not
4+
// for commercial or industrial use.
5+
//
6+
// CoderTimeAPI.h
7+
//
8+
// Code generation for function 'CoderTimeAPI'
9+
//
10+
#ifndef CODERTIMEAPI_H
11+
#define CODERTIMEAPI_H
12+
13+
// Include files
14+
#include "rtwtypes.h"
15+
#include <cstddef>
16+
#include <cstdlib>
17+
18+
// Function Declarations
19+
namespace RAT
20+
{
21+
void freq_not_empty_init();
22+
}
23+
24+
#endif
25+
26+
// End of code generation (CoderTimeAPI.h)

0 commit comments

Comments
 (0)