Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/tbb_2020.3/STAN_CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ This file documents changes done for the stan-math project
- Support for Windows ARM64 with RTools:
- build/Makefile.tbb
- L94 Wrapped the use of `--version-script` export in conditional on non-WINARM64
- build/windows.gcc.ino
- build/windows.gcc.inc
- L84 Wrapped the use of `-flifetime-dse` flag in conditional on non-WINARM64
- L101 Wrapped the use of `-msse` in conditional on non-WINARM64

6 changes: 5 additions & 1 deletion lib/tbb_2020.3/build/windows.gcc.inc
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,11 @@ CPLUS_FLAGS += -DUSE_WINTHREAD
CPLUS_FLAGS += -D_WIN32_WINNT=$(_WIN32_WINNT)

# MinGW specific
CPLUS_FLAGS += -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION__=0x0700 -msse -mthreads
CPLUS_FLAGS += -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION__=0x0700 -mthreads
# Unused under ARM64 and error with LLVM19+
ifeq (, $(WINARM64))
CPLUS_FLAGS += -msse
endif

CONLY = gcc
debugger = gdb
Expand Down