Skip to content

Commit

Permalink
node: Use LLVM 13.0.1 as its profile sets LD_LIBRARY_PATH
Browse files Browse the repository at this point in the history
The build currently fails with the GCC 11.1.0 package, [as its profile
does not set `LD_LIBRARY_PATH`][1].

[1]: #193
  • Loading branch information
pmenzel committed May 14, 2022
1 parent 6caddf8 commit da787d9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions node-16.15.0-0.build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ exec </dev/null
mkdir -p $PREFIX
cat >$PREFIX/profile <<-EOF
PATH=$PREFIX/bin:\$PATH
. /pkg/llvm-13.0.1-0/profile
if [ -d $PREFIX/.compatlibs ]; then export LD_LIBRARY_PATH=$PREFIX/.compatlibs\${LD_LIBRARY_PATH:+:\$LD_LIBRARY_PATH} ; fi
EOF
. $PREFIX/profile
Expand All @@ -32,8 +33,6 @@ BUILDDIR=$PREFIX/build
mkdir -p $BUILDDIR
cd $BUILDDIR

source /pkg/gcc-11.1.0-0/profile
export LD_LIBRARY_PATH=/pkg/gcc-11.1.0-0/lib64:/pkg/gcc-11.1.0-0/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}

# test -e $PKG-v$VERSION.tar.gz || wget https://nodejs.org/dist/v$VERSION/$PKG-v$VERSION.tar.gz
# wget https://nodejs.org/dist/v16.15.0/node-v16.15.0.tar.gz
Expand Down

0 comments on commit da787d9

Please sign in to comment.