Skip to content

Commit

Permalink
fix install-path on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
h-vetinari committed Jul 31, 2023
1 parent e68c5b3 commit 19ebb9f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
4 changes: 4 additions & 0 deletions recipe/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
mkdir build
cd build

:: cut off any extensions after "XY.0.0";
:: mainly aimed at ".rcX", which is not part of the installation path
set PKG_VERSION=%PKG_VERSION:~0,-4%

set BUILD_CONFIG=Release
set "CC=clang-cl.exe"
set "CXX=clang-cl.exe"
Expand Down
11 changes: 6 additions & 5 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ source:
- patches/0002-compiler-rt-Make-7.0.0-compatible-with-10.9-SDK.patch

build:
number: 0
number: 1

requirements:
build:
Expand Down Expand Up @@ -47,7 +47,8 @@ outputs:
run_constrained:
- compiler-rt {{ version }}
files:
- lib/clang/{{ prod_ver }}/lib
- lib/clang/{{ prod_ver }}/lib # [unix]
- Library/lib/clang/{{ prod_ver }}/lib # [win]
test:
commands:
- echo {{ MACOSX_DEPLOYMENT_TARGET|default("10.9") }}
Expand All @@ -66,9 +67,9 @@ outputs:
files:
- lib/clang/{{ prod_ver }}/share # [unix]
- lib/clang/{{ prod_ver }}/include # [unix]
- Library/lib/clang/{{ version }}/share # [win]
- Library/lib/clang/{{ version }}/include # [win]
- Library/lib/clang/{{ version }}/lib # [win]
- Library/lib/clang/{{ prod_ver }}/share # [win]
- Library/lib/clang/{{ prod_ver }}/include # [win]
- Library/lib/clang/{{ prod_ver }}/lib # [win]
test:
# files:
# - test.c.in
Expand Down

0 comments on commit 19ebb9f

Please sign in to comment.