Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Workflow for basic testing across multiple archs #2937

Closed
wants to merge 21 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
armhf rev/fwd tests
  • Loading branch information
andrjohns committed Aug 30, 2023
commit fa074ee5a344c3933eedd60bd6a694a606f3ef03
2 changes: 1 addition & 1 deletion .github/workflows/multiarch_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
run: |
apt-get update && apt-get install -y build-essential python-is-python3
cd /work
TargetTests=(test/unit/math/prim/*/*.cpp)
TargetTests=(test/unit/math/rev/*/*.cpp test/unit/math/fwd/*/*.cpp)
NTests=${#TargetTests[@]}
TestsPerBatch="$(($NTests / 20))"
StartOfBatch="$((${{ matrix.config.batch }} * $TestsPerBatch))"
Expand Down
8 changes: 1 addition & 7 deletions make/compiler_flags
Original file line number Diff line number Diff line change
Expand Up @@ -181,12 +181,6 @@ ifeq ($(OS),Linux)
CXXFLAGS_WARNINGS ?= -Wno-sign-compare
ifeq (gcc,$(CXX_TYPE))
CXXFLAGS_OS ?= -pthread
ifeq (aarch64, $(shell uname -m))
CXXFLAGS_OS += -Wno-psabi
endif
ifeq (armv7l, $(shell uname -m))
CXXFLAGS_OS += -Wno-psabi
endif
endif
ifeq (mingw32-gcc,$(CXX_TYPE))
LDLIBS_OS ?= -static -lwinpthread
Expand All @@ -202,7 +196,7 @@ endif
CXXFLAGS_OS += -D_REENTRANT

## silence warnings occuring due to the TBB and Eigen libraries
CXXFLAGS_WARNINGS += -Wno-ignored-attributes -Wno-deprecated-declarations
CXXFLAGS_WARNINGS += -Wno-ignored-attributes

################################################################################
# Setup OpenCL
Expand Down