forked from libuv/libuv
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial cross-platform esy build - building on Linux, OSX, Win10. * Initial esy build * Add missed esy folder * Fix EOL * Force windows env * Tweak build steps * More tweaks * Move build scripts * Use CMake for OSX/Linux * Install libtool * Add EOL gitattributes * Fix .gitattributes * Fix prefix
- Loading branch information
Showing
9 changed files
with
178 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
test/fixtures/lorem_ipsum.txt text eol=lf | ||
|
||
esy/build-windows.sh text eol=lf | ||
esy/build.sh text eol=lf | ||
*.sh text eol=lf | ||
*.ac text eol=lf | ||
*.am text eol=lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/bash | ||
|
||
set -e | ||
|
||
sh autogen.sh | ||
./configure --host=x86_64-w64-mingw32 CC=x86_64-w64-mingw32-gcc --prefix=$cur__install | ||
make | ||
# TODO: One of the tests fails on Windows. Likely, it is a mingw/cygwin pathing issue - but need to investigate to be sure. | ||
# make check | ||
make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=$cur__target_dir | ||
|
||
make | ||
make install | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
|
||
{ | ||
"name": "esy-libuv", | ||
"version": "1.34.2", | ||
"description": "Esy-enabled libuv build", | ||
"license": "MIT", | ||
"esy": { | ||
"build": [ | ||
["bash", "#{os=='windows' ? './esy/build-windows.sh':'./esy/build.sh'}"] | ||
], | ||
"buildsInSource":true, | ||
"exportedEnv": { | ||
"LIBUV_INCLUDE_PATH": { | ||
"val": "#{self.install / 'include'}", | ||
"scope": "global" | ||
}, | ||
"LIBUV_LIB_PATH": { | ||
"val": "#{self.lib}", | ||
"scope": "global" | ||
} | ||
} | ||
}, | ||
"dependencies": { | ||
"esy-cmake": "^0.3.2", | ||
"esy-libtools": "github:bryphe/esy-libtools#62766a2" | ||
} | ||
} |