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

MacOS #485

Merged
merged 19 commits into from
Oct 22, 2024
Merged

MacOS #485

Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
6fa8038
Update `execute_process` to avoid non-portable command usage
yamacir-kit Aug 31, 2024
8cbfba6
Delete branch using predefined macro `__unix__`
yamacir-kit Aug 31, 2024
0065de0
Update to not use unsigned long to obtain 64-bit integer
yamacir-kit Aug 31, 2024
6179fbb
Simplify struct `exact_integer` definition
yamacir-kit Sep 1, 2024
0264b68
Fix some Linux-dependent code
yamacir-kit Sep 1, 2024
7986c52
Update library serach path to include `/opt/homebrew` if on MacOS
yamacir-kit Sep 4, 2024
5b97677
Update the test definition not to use Valgrind if on MacOS
yamacir-kit Sep 4, 2024
a43d713
Rename `setup.sh` to `setup-ubuntu.sh`
yamacir-kit Sep 7, 2024
7530c81
Add new script `setup-macos.sh`
yamacir-kit Sep 7, 2024
d03e487
Add new OS `macos-14` to matrix `system` of workflow `build.yaml`
yamacir-kit Sep 7, 2024
c7cfed0
Add `.DS_Store` to `.gitignore`
yamacir-kit Sep 9, 2024
9b66afe
Remove the code that directly uses `dpkg` from `update.sh`
yamacir-kit Sep 12, 2024
bc719e7
Add support for numerical constants with exponent marker `f`
yamacir-kit Sep 17, 2024
999e288
Fix `@vector-copy!` to not cause undefined behavior for `slice_array`
yamacir-kit Sep 19, 2024
0ba0da9
Update `default_collector` to be declared as an extern template
yamacir-kit Sep 21, 2024
382d1e6
Update to not define make target `package` for MacOS
yamacir-kit Oct 9, 2024
72c2106
Add the definition of `CMAKE_INSTALL_NAME_DIR` to `CMakeLists.txt`
yamacir-kit Oct 21, 2024
25b1b64
Replace `CMAKE_INSTALL_NAME_DIR` with `CMAKE_INSTALL_RPATH`
yamacir-kit Oct 21, 2024
b95f964
Update to set `CMAKE_INSTALL_RPATH` for MacOS only
yamacir-kit Oct 21, 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
Rename setup.sh to setup-ubuntu.sh
Signed-off-by: yamacir-kit <httperror@404-notfound.jp>
  • Loading branch information
yamacir-kit committed Sep 7, 2024
commit a43d713c1b277891ac38dc31a0413e63e5133f44
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
system: [ ubuntu-20.04, ubuntu-22.04 ]
steps:
- uses: actions/checkout@v3
- run: ./script/setup.sh --all
- run: ./script/setup-${{ matrix.system }}.sh --all
- run: cmake -B build -DCMAKE_BUILD_TYPE=${{ matrix.configuration }}
- run: cmake --build build --target develop
- run: cmake -B example/build -S example -DCMAKE_BUILD_TYPE=${{ matrix.configuration }}
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Procedures for each standard are provided by the following R7RS-style libraries:
cmake -B build -DCMAKE_BUILD_TYPE=Release
cd build
make package
sudo apt install build/meevax_0.5.232_amd64.deb
sudo apt install build/meevax_0.5.233_amd64.deb
```

or
Expand Down Expand Up @@ -122,9 +122,9 @@ sudo rm -rf /usr/local/share/meevax

| Target Name | Description
|-------------|-------------
| `all` | Build shared-library `libmeevax.0.5.232.so` and executable `meevax`
| `all` | Build shared-library `libmeevax.0.5.233.so` and executable `meevax`
| `test` | Test executable `meevax`
| `package` | Generate debian package `meevax_0.5.232_amd64.deb`
| `package` | Generate debian package `meevax_0.5.233_amd64.deb`
| `install` | Copy files into `/usr/local` directly

## Usage
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.5.232
0.5.233
1 change: 1 addition & 0 deletions script/setup-ubuntu-20.04.sh
1 change: 1 addition & 0 deletions script/setup-ubuntu-22.04.sh
12 changes: 6 additions & 6 deletions script/setup.sh → script/setup-ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@ required()

optional()
{
echo kcachegrind
echo massif-visualizer
echo kcachegrind # script/callgrind.sh
echo massif-visualizer # script/massif.sh
echo valgrind
}

documentation()
{
echo bibtex2html
echo doxygen

wget -q https://github.com/jgm/pandoc/releases/download/3.3/pandoc-3.3-1-amd64.deb -P /tmp
echo /tmp/pandoc-3.3-1-amd64.deb

echo bibtex2html # script/references.sh
echo doxygen
echo /tmp/pandoc-3.3-1-amd64.deb # script/references.sh
}

sudo apt update
Expand Down
Loading