-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
meraculous: add linux-aarch64 build (#50566)
* meraculous: add linux-aarch64 build Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org> * meraculous: add a patch for aarch64 and arm64 builds Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org> --------- Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
- Loading branch information
Showing
3 changed files
with
23 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
#!/bin/bash | ||
|
||
set -xe | ||
|
||
mkdir build | ||
cd build | ||
cmake \ | ||
-DCMAKE_INSTALL_PREFIX="${PREFIX}" \ | ||
-DBUILD_SHARED_LIBS=ON \ | ||
.. | ||
make | ||
make -j ${CPU_COUNT} | ||
make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- Meraculous-v2.2.6/src/c/Compat.h 2018-08-10 22:43:06.115287000 +0000 | ||
+++ Meraculous-v2.2.6.working/src/c/Compat.h 2024-11-25 14:49:34.912000000 +0000 | ||
@@ -82,11 +82,7 @@ | ||
#include <sched.h> // For sched_setaffinity | ||
#endif | ||
|
||
-#ifndef __APPLE__ | ||
-#include <xmmintrin.h> // This is currently (in Dec 2013) broken on Mac OS X 10.9 (Apple clang-500.2.79) | ||
-#else | ||
#define _mm_prefetch(...) {} | ||
-#endif | ||
|
||
typedef int64_t _int64; | ||
typedef uint64_t _uint64; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters