exaloop / exaloop/codon

static compilation option?

Open
#82 8 comments 9 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Python
Stars
16.8k
Forks
603
Avg merge
4d 23h
Merged PRs (30d)
6

Description

After I successfully compiled a test python program using `codon build `, on macOS Monterey (intel), I checked the dependencies as per the following:

```bash
$ otool -L demo
demo:
@rpath/libcodonrt.dylib (compatibility version 0.0.0, current version 0.0.0)
@rpath/libomp.dylib (compatibility version 5.0.0, current version 5.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1319.0.0)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)
```

The two `@rpath` dependencies, `libcodonrt.dylib` and `libomp.dylib` are included in the `codon` distribution, they are 1.2M and 772K respectively so not so large.

Is there any thought to having static libraries of these two dependencies available so one may statically compile the executable instead to make it more relocatable?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.