MinGW support (#1806)

* Changed /bin/bash to bash for generating compiling preamble

* Fix wrt jit_compiler mingw like msvc wrt. WEXITSTATUS

* Solved ambiguity wrt. bernoulli test shape

* Disabled distributed/ring on Windows

* Fixed jit_compiler command wrt. MinGW

* Extended jit_compiler patch wrt. WEXITSTATUS to FreeBSD
This commit is contained in:
Jesper Stemann Andersen
2025-02-01 21:40:06 +01:00
committed by GitHub
parent 80c863b972
commit 2d8e667400
5 changed files with 6 additions and 6 deletions

View File

@@ -556,7 +556,7 @@ TEST_CASE("test random bernoulli") {
p = array({0.1, 0.2, 0.3});
// Ask for the wrong shape => throws
CHECK_THROWS_AS(random::bernoulli(p, {2}), std::invalid_argument);
CHECK_THROWS_AS(random::bernoulli(p, Shape({2})), std::invalid_argument);
// Check wrong key type or shape
auto key = array({0, 0}, {1, 2});