Skip to content

Commit

Permalink
c++17-ed
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipDeegan committed Feb 28, 2024
1 parent ec1a1dd commit b1313e9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build_nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ jobs:

- name: "Build/Test" # contains slash so use quotes otherwise UB
run: |
python3 -V
curl -Lo mkn https://github.com/mkn/mkn/releases/download/latest/mkn_nix
chmod +x mkn
KLOG=3 ./mkn
KLOG=3 ./mkn clean build -p mod -dOa "-std=c++17 -fPIC"
python3 py.py
3 changes: 2 additions & 1 deletion .github/workflows/build_osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ jobs:

- name: "Build/Test" # contains slash so use quotes otherwise UB
run: |
python3 -V
curl -Lo mkn https://github.com/mkn/mkn/releases/download/latest/mkn_osx
chmod +x mkn
KLOG=3 ./mkn
KLOG=3 ./mkn clean build -p mod -dOa "-std=c++17 -fPIC"
python3 py.py
1 change: 1 addition & 0 deletions .github/workflows/build_win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
MKN_CL_PREFERRED: 1
run: | # /bin/link interferes with cl/link.exe
bash -c "rm /bin/link"
bash -c "python3 -V"
bash -c "curl -Lo mkn.exe https://github.com/mkn/mkn/releases/download/latest/mkn.exe"
bash -c "KLOG=3 ./mkn"
bash -c "python3 py.py"
6 changes: 0 additions & 6 deletions mkn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,7 @@ name: lang.nanobind
parent: lib

profile:
- name: base
if_arg:
nix: -fPIC

- name: lib
parent: base
inc: |
b/include
b/ext/robin_map/include, 0
Expand All @@ -19,7 +14,6 @@ profile:
sub: nanobind&b(https://github.com/wjakob/nanobind)

- name: mod
parent: base
src: mod.cpp
self: lib
mode: none
Expand Down

0 comments on commit b1313e9

Please sign in to comment.