Skip to content

Commit

Permalink
# This is a combination of 27 commits.
Browse files Browse the repository at this point in the history
parent 1ea18ed
author cspchen <[email protected]> 1629186478 +0800
committer cspchen <[email protected]> 1629186485 +0800

# This is a combination of 21 commits.
# This is the 1st commit message:

FIX: loading on Linux platform

# This is the commit message #2:

UPDATE: ci for java-package

# This is the commit message apache#3:

UPDATE: ci for java-package

# This is the commit message apache#4:

UPDATE: ci for java-package

# This is the commit message apache#5:

UPDATE: ci for java-package

# This is the commit message apache#6:

UPDATE: ci for java-package

# This is the commit message apache#7:

UPDATE: ci for java-package

# This is the commit message apache#8:

UPDATE: ci for java-package

# This is the commit message apache#9:

UPDATE: ci for java-package

# This is the commit message apache#10:

UPDATE: ci for java-package

# This is the commit message apache#11:

UPDATE: ci for java-package

# This is the commit message apache#12:

UPDATE: ci for java-package

# This is the commit message apache#13:

UPDATE: ci for java-package

# This is the commit message apache#14:

UPDATE: ci for java-package

# This is the commit message apache#15:

UPDATE: ci for java-package

# This is the commit message apache#16:

UPDATE: ci for java-package

# This is the commit message apache#17:

UPDATE: ci for java-package

# This is the commit message apache#18:

UPDATE: ci for java-package

# This is the commit message apache#19:

UPDATE: ci for java-package

# This is the commit message apache#20:

UPDATE: ci for java-package

# This is the commit message apache#21:

UPDATE: ci for java-package

# This is the commit message apache#22:

UPDATE: ci for java-package

# This is the commit message apache#23:

UPDATE: jenkins ci scripts for java-package

# This is the commit message apache#24:

UPDATE: jenkins ci scripts for java-package

# This is the commit message apache#25:

UPDATE: jenkins ci scripts for java-package

# This is the commit message apache#26:

UPDATE: jenkins ci scripts for java-package

# This is the commit message apache#27:

UPDATE: jenkins ci scripts for java-package
  • Loading branch information
cspchen committed Aug 17, 2021
1 parent 1ea18ed commit 24bfc34
Show file tree
Hide file tree
Showing 4 changed files with 102 additions and 14 deletions.
23 changes: 9 additions & 14 deletions .github/workflows/native_build_mxnet_osx.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Native Build MXNet OSX
name: Native Build MXNet OSX and Upload jar

on: [push]
#on:
Expand All @@ -16,17 +16,12 @@ jobs:
- name: Install Dependencies
run: |
brew install nasm automake ninja libtool
- name: Build
run: |
git --version
clang --version
CMAKE_STATICBUILD=1 ./tools/staticbuild/build.sh cpu
- name: Upload libmxnet.dylib
uses: actions/upload-artifact@v2
with:
name: libmxnet.dylib
path: build/libmxnet.dylib
# - name: Build
# run: |
# git --version
# clang --version
# CMAKE_STATICBUILD=1 ./tools/staticbuild/build.sh cpu
- name: Set up JDK 8
uses: actions/setup-java@v2
with:
Expand All @@ -37,8 +32,8 @@ jobs:
with:
working-directory: ./java-package
- name: jar mxnet library
with:
working-directory: ./java-package
working-directory: ./java-package
run: |
pwd
./gradlew :native:jar
ls native/build/libs
# ls native/build/libs
44 changes: 44 additions & 0 deletions ci/docker_attach.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

docker \
run \
-it \
--cap-add \
SYS_PTRACE \
--rm \
--shm-size=500m \
-v \
/home/ec2-user/work/incubator-mxnet:/work/mxnet \
-v \
/home/ec2-user/work/incubator-mxnet/build:/work/build \
-v \
/root/.ccache:/work/ccache \
-u \
0:0 \
-e \
CCACHE_MAXSIZE=500G \
-e \
CCACHE_TEMPDIR=/tmp/ccache \
-e \
CCACHE_DIR=/work/ccache \
-e \
CCACHE_LOGFILE=/tmp/ccache.log \
-e \
RELEASE_BUILD=false \
mxnetci/build.ubuntu_cpu:latest \
bash
44 changes: 44 additions & 0 deletions docker/dev/docker_run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

docker \
run \
--cap-add \
SYS_PTRACE \
--rm \
--shm-size=500m \
-v \
/home/ec2-user/work/upstream/incubator-mxnet:/work/mxnet \
-v \
/home/ec2-user/work/upstream/incubator-mxnet/build:/work/build \
-v \
/root/.ccache:/work/ccache \
-u \
0:0 \
-e \
CCACHE_MAXSIZE=500G \
-e \
CCACHE_TEMPDIR=/tmp/ccache \
-e \
CCACHE_DIR=/work/ccache \
-e \
CCACHE_LOGFILE=/tmp/ccache.log \
-e \
RELEASE_BUILD=false \
mxnetci/build.ubuntu_cpu:latest \
/work/mxnet/ci/docker/runtime_functions.sh \
build_ubuntu_cpu
5 changes: 5 additions & 0 deletions java-package/scripts/setup_gradle_ubuntu.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
install_gradle() {
add-apt-repository ppa:cwchien/gradle
apt-get update -y
apt-get install gradle -y
}

0 comments on commit 24bfc34

Please sign in to comment.