<commit_before><project>

  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>ml.dmlc.mxnet</groupId>
    <artifactId>mxnet-scala-native-parent</artifactId>
    <version>0.1-SNAPSHOT</version>
  </parent>

  <groupId>ml.dmlc.mxnet</groupId>
  <artifactId>libmxnet-scala</artifactId>
  <version>0.0.1-SNAPSHOT</version>
  <name>MXNet Scala Package - Native OSX-x86_64</name>
  <url>http://maven.apache.org</url>

  <properties>
    <opencv.pkg.tmpfile>opencv.pkg.txt</opencv.pkg.tmpfile>
  </properties>

  <packaging>jnilib</packaging>

  <dependencies>
    <dependency>
      <groupId>ml.dmlc.mxnet</groupId>
      <artifactId>mxnet-scala-core</artifactId>
      <version>0.1-SNAPSHOT</version>
      <type>jar</type>
      <scope>compile</scope>
    </dependency>   
  </dependencies>

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
      </plugin>

      <plugin>
        <artifactId>maven-antrun-plugin</artifactId>
        <executions>
          <execution>
            <phase>generate-sources</phase>
            <goals>
              <goal>run</goal>
            </goals>
            <configuration>
              <exportAntProperties>true</exportAntProperties>
              <tasks>
                <taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="maven.plugin.classpath" />
                <property environment="env"/>
                <if>
                  <isset property="intel" />
                  <then>
                    <property name="use.cblas" value="0" />
                    <property name="use.mkl" value="1" />
                    <property name="cflags.blas" value="-I${intel}/mkl/include" />
                    <property name="ldflags.blas" value="-L${intel}/mkl/lib -L${intel}/lib" />
                  </then>
                  <else>
                    <property name="use.cblas" value="1" />
                    <property name="use.mkl" value="0" />
                    <property name="cflags.blas"
                      value="-I/System/Library/Frameworks/Accelerate.framework/Versions/Current/Frameworks/vecLib.framework/Versions/Current/Headers" />
                    <property name="ldflags.blas" value="-framework Accelerate" />
                  </else>
                </if>
                <if>
                  <not>
                    <isset property="cxx" />
                  </not>
                  <then>
                    <property name="cxx" value="clang++" />
                  </then>
                </if>
                <!-- echo opencv libs to a temp file and then load it into a property -->
                <exec executable="pkg-config" output="${opencv.pkg.tmpfile}" failonerror="true">
                  <arg line="--libs opencv" />
                </exec>
                <loadfile srcfile="${opencv.pkg.tmpfile}" property="ldflags.opencv" />
                <delete file="${opencv.pkg.tmpfile}" />
              </tasks><commit_msg>change clang++ to g++ on osx<commit_after><project>

  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>ml.dmlc.mxnet</groupId>
    <artifactId>mxnet-scala-native-parent</artifactId>
    <version>0.1-SNAPSHOT</version>
  </parent>

  <groupId>ml.dmlc.mxnet</groupId>
  <artifactId>libmxnet-scala</artifactId>
  <version>0.0.1-SNAPSHOT</version>
  <name>MXNet Scala Package - Native OSX-x86_64</name>
  <url>http://maven.apache.org</url>

  <properties>
    <opencv.pkg.tmpfile>opencv.pkg.txt</opencv.pkg.tmpfile>
  </properties>

  <packaging>jnilib</packaging>

  <dependencies>
    <dependency>
      <groupId>ml.dmlc.mxnet</groupId>
      <artifactId>mxnet-scala-core</artifactId>
      <version>0.1-SNAPSHOT</version>
      <type>jar</type>
      <scope>compile</scope>
    </dependency>   
  </dependencies>

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
      </plugin>

      <plugin>
        <artifactId>maven-antrun-plugin</artifactId>
        <executions>
          <execution>
            <phase>generate-sources</phase>
            <goals>
              <goal>run</goal>
            </goals>
            <configuration>
              <exportAntProperties>true</exportAntProperties>
              <tasks>
                <taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="maven.plugin.classpath" />
                <property environment="env"/>
                <if>
                  <isset property="intel" />
                  <then>
                    <property name="use.cblas" value="0" />
                    <property name="use.mkl" value="1" />
                    <property name="cflags.blas" value="-I${intel}/mkl/include" />
                    <property name="ldflags.blas" value="-L${intel}/mkl/lib -L${intel}/lib" />
                  </then>
                  <else>
                    <property name="use.cblas" value="1" />
                    <property name="use.mkl" value="0" />
                    <property name="cflags.blas"
                      value="-I/System/Library/Frameworks/Accelerate.framework/Versions/Current/Frameworks/vecLib.framework/Versions/Current/Headers" />
                    <property name="ldflags.blas" value="-framework Accelerate" />
                  </else>
                </if>
                <if>
                  <not>
                    <isset property="cxx" />
                  </not>
                  <then>
                    <property name="cxx" value="g++" />
                  </then>
                </if>
                <!-- echo opencv libs to a temp file and then load it into a property -->
                <exec executable="pkg-config" output="${opencv.pkg.tmpfile}" failonerror="true">
                  <arg line="--libs opencv" />
                </exec>
                <loadfile srcfile="${opencv.pkg.tmpfile}" property="ldflags.opencv" />
                <delete file="${opencv.pkg.tmpfile}" />
              </tasks>
{'fraction_non_alphanumeric': 0.149037670669518, 'fraction_numerical': 0.005922026649119921, 'mean_word_length': 1.699822380106572, 'pattern_counts': {'":': 0, '<': 195, '<?xml version=': 0, '>': 195, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7544060', 'n_tokens_mistral': 1936, 'n_tokens_neox': 1761, 'n_words': 252}