@@ -41,27 +41,27 @@ Download the executable for your platform from [here](https://github.com/aminya/
41
41
An example that installs llvm, cmake, ninja, ccache, and vcpkg:
42
42
43
43
``` ps1
44
- # windows example (open shell as admin)
45
- curl.exe -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.25.1/setup_cpp_windows .exe"
46
- .\setup_cpp_windows --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
44
+ # windows example (open PowerShell as admin)
45
+ curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.25.1/setup-cpp-x64-windows .exe"
46
+ ./setup-cpp-x64-windows --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
47
47
48
48
RefreshEnv.cmd # activate cpp environment variables
49
49
```
50
50
51
51
``` ps1
52
52
# linux example
53
- wget "https://github.com/aminya/setup-cpp/releases/download/v0.25.1/setup_cpp_linux "
54
- chmod +x setup_cpp_linux
55
- sudo ./setup_cpp_linux --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
53
+ wget "https://github.com/aminya/setup-cpp/releases/download/v0.25.1/setup-cpp-x64-linux "
54
+ chmod +x ./setup-cpp-x64-linux
55
+ sudo ./setup-cpp-x64-linux --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
56
56
57
57
source ~/.cpprc # activate cpp environment variables
58
58
```
59
59
60
60
``` ps1
61
- # mac example
62
- wget "https://github.com/aminya/setup-cpp/releases/download/v0.25.1/setup_cpp_mac "
63
- chmod +x setup_cpp_mac
64
- sudo ./setup_cpp_mac --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
61
+ # macos example
62
+ wget "https://github.com/aminya/setup-cpp/releases/download/v0.25.1/setup-cpp-x64-macos "
63
+ chmod +x ./setup-cpp-x64-macos
64
+ sudo ./setup-cpp-x64-macos --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
65
65
66
66
source ~/.cpprc # activate cpp environment variables
67
67
```
@@ -170,11 +170,11 @@ FROM ubuntu:22.04 AS base
170
170
WORKDIR "/"
171
171
RUN apt-get update -qq
172
172
RUN apt-get install -y --no-install-recommends wget
173
- RUN wget --no-verbose "https://github.com/aminya/setup-cpp/releases/download/v0.25.1/setup_cpp_linux "
174
- RUN chmod +x ./setup_cpp_linux
173
+ RUN wget --no-verbose "https://github.com/aminya/setup-cpp/releases/download/v0.25.1/setup-cpp-x64-linux "
174
+ RUN chmod +x ./setup-cpp-x64-linux
175
175
176
176
# install llvm, cmake, ninja, and ccache
177
- RUN ./setup_cpp_linux --compiler llvm --cmake true --ninja true --ccache true --vcpkg true --make true
177
+ RUN ./setup-cpp-x64-linux --compiler llvm --cmake true --ninja true --ccache true --vcpkg true --make true
178
178
179
179
CMD source ~/.cpprc
180
180
ENTRYPOINT [ "/bin/bash" ]
@@ -262,9 +262,9 @@ stages:
262
262
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1E9377A2BA9EF27F
263
263
264
264
.setup-cpp : &setup-cpp |
265
- curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.25.1/setup_cpp_linux "
266
- chmod +x setup_cpp_linux
267
- ./setup_cpp_linux --compiler $compiler --cmake true --ninja true --ccache true --vcpkg true
265
+ curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.25.1/setup-cpp-x64-linux "
266
+ chmod +x setup-cpp-x64-linux
267
+ ./setup-cpp-x64-linux --compiler $compiler --cmake true --ninja true --ccache true --vcpkg true
268
268
source ~/.cpprc
269
269
270
270
.test : &test |
0 commit comments