oribuild-linux-arm64 0.0.0-pre-alpha.1 → 0.0.0-pre-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +16 -8
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -105,14 +105,22 @@ ori -h
105
105
  ## Working on `ori`
106
106
  ### Getting Dependencies
107
107
  - install go 1.17 https://go.dev/doc/install
108
- - install mingw-gcc. I do this via https://www.mingw-w64.org/downloads/#mingw-builds (the sourceforge link at present)
109
- - If the live installer fails, you can download the prebuilt binaries directly and add those to your path
110
- https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/
111
- - Prebuilt binaries require 7zip to extract https://www.7-zip.org/
112
- - I installed x86_64-posix-seh
113
- This is to support building libsass https://github.com/wellington/go-libsass/issues/37
114
- - get the install path of mingw-gcc's bin and add it to your path (in my case /c/Program Files/mingw-w64/x86_64-8.1.0-posix-seh-rt_v6-rev0/mingw64/bin)
115
- - Install the golang vscode plugin, and click "Install All" when it prompts you to install missing golang components (godef, gopkgs, gopls)
108
+ - If on windows, install mingw-gcc.
109
+ This is to support building libsass on windows https://github.com/wellington/go-libsass/issues/37
110
+
111
+ There are two ways to do this right now:
112
+ 1. **Via Chocolatey**:
113
+ - Install [Chocolatey](https://chocolatey.org/)
114
+ - Install mingw from chocolatey `choco install mingw`. At time of writing this installs `mingw 11.2.0.07112021`
115
+ 2. **Manually**: do this only if you encounter issues with the version distributed by `chocolatey`:
116
+
117
+ - Get a build from https://www.mingw-w64.org/downloads/#mingw-builds (the sourceforge link)
118
+ - If the live installer fails, you can download the prebuilt binaries directly and add those to your path
119
+ https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/
120
+ - Prebuilt binaries require 7zip to extract https://www.7-zip.org/
121
+ - I installed x86_64-posix-seh
122
+ - Add the path of mingw-gcc's bin to your path (in my case /c/Program Files/mingw-w64/x86_64-8.1.0-posix-seh-rt_v6-rev0/mingw64/bin)
123
+ - _(Optional, but recommended)_ Install the `go` vscode plugin, and click "Install All" when it prompts you to install missing golang components (godef, gopkgs, gopls)
116
124
 
117
125
  ### Catches
118
126
 
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "oribuild-linux-arm64",
3
- "version": "0.0.0-pre-alpha.1",
3
+ "version": "0.0.0-pre-alpha.2",
4
4
  "repository": {
5
5
  "url": "https://github.com/microsoft/ori"
6
6
  },
7
7
  "os": [
8
- "x64"
8
+ "linux"
9
9
  ],
10
10
  "cpu": [
11
- "linux"
11
+ "arm64"
12
12
  ],
13
13
  "bin": {
14
14
  "ori": "./platform-unimplemented.js"