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

New recipe: catchaMouse16-v0.1.0 #9151

Merged
merged 23 commits into from
Aug 13, 2024
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
af764e2
New recipe: catchaMouse16-v0.1.0
brendanjohnharris Jul 26, 2024
0f2f6a2
Exclude windows
brendanjohnharris Jul 26, 2024
881a1a5
Change compiler to generic 'cc'
brendanjohnharris Jul 26, 2024
a781228
Change to command substitutions
brendanjohnharris Jul 26, 2024
f450b21
Set make job count
brendanjohnharris Jul 26, 2024
08a2fd0
Specify GSL_jll version (~2.7.2)
brendanjohnharris Jul 26, 2024
7a4e01b
Use install instead of cp
brendanjohnharris Jul 26, 2024
de4a56e
Use make install target and lower Julia compat to LTS
brendanjohnharris Jul 26, 2024
46efde0
Standardize output name
brendanjohnharris Jul 26, 2024
e580151
Use command substitutions
brendanjohnharris Jul 26, 2024
b7b7bfc
Use c11 to avoid warnings
brendanjohnharris Jul 26, 2024
36bf85d
Use gcc for apple (?)
brendanjohnharris Jul 26, 2024
c8250ee
Remove windows again
brendanjohnharris Jul 26, 2024
3446673
Hopeful fix for macos and windows
brendanjohnharris Jul 26, 2024
2179afd
Enable all platforms
brendanjohnharris Jul 27, 2024
41b1456
Extra flags for macos fix
brendanjohnharris Jul 27, 2024
f2d9cbb
Add extra flags in right place
brendanjohnharris Jul 27, 2024
7897772
Clean up makefile
brendanjohnharris Jul 30, 2024
069f8c3
Add headerpad flag
brendanjohnharris Jul 30, 2024
b3b5abd
Headerpad flag for all machines
brendanjohnharris Jul 30, 2024
4deeb30
Fix src file finding
brendanjohnharris Jul 31, 2024
9fc6681
Update C/catchaMouse16/build_tarballs.jl
brendanjohnharris Aug 13, 2024
14ff2cc
Merge branch 'master' into catchaMouse16
brendanjohnharris Aug 13, 2024
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
Headerpad flag for all machines
brendanjohnharris authored Jul 30, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit b3b5abd2ca552f8fd2d387b6987bf7bd8c94354e
4 changes: 2 additions & 2 deletions C/catchaMouse16/build_tarballs.jl
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ sources = [
makefile = raw"""
CC = cc
CFLAGS = -std=c11 -fPIC -Wall -Wextra -g -O2 -lm -lgsl -lgslcblas
LDFLAGS = -shared -lm -lgsl -lgslcblas
LDFLAGS = -shared -lm -lgsl -lgslcblas -Wl,-headerpad_max_install_names
RM = rm -f
TARGET_LIB = "lib$(SRC_NAME).$(dlext)"

@@ -41,7 +41,7 @@ cd ${WORKSPACE}/srcdir
cd catchaMouse16/C/src/
echo -e '""" * makefile * raw"""' >> Makefile
if [[ ${target} == aarch64-apple-* ]]; then
FLAGS="-L${libdir}/darwin -lclang_rt.osx -headerpad_max_install_names"
FLAGS="-L${libdir}/darwin -lclang_rt.osx"
fi
make -j${nproc} FLAGS="${FLAGS}"
make install